Site logo

Archived topic

How to insert header over single posts using hooks?

4 replies · Started by Derek on July 26, 2018

Viewing posts 1–5 of 5

Hello.

I've got a working beaver builder footer site-wide by using: [fl_builder_insert_layout slug="footer-menu"] in the "After Footer Widgets" GP Hooks area.

I'm trying to do a similar thing but with a bb header, just under the main menu, but above my posts titles. I tried using:
[fl_builder_insert_layout slug="posts-header"] in the "After Header Content" GP Hooks area. I can't seem to get it to work. Besides, even if I was able to get it to show up, there is the problem that I would need to limit this header to only my posts. How can I accomplish this?

Thanks!

Update:

I was able to get it to work by using the "After Entry Title" Hook area. I just need help with two things:

1.) How can I limit this to the single posts pages only?
2.) How can I make the header full-width above the sidebars on my /test-page? I'm thinking I need to use a different hook area and maybe custom css? I want it flush with the menu. I'm using another hook for the breadcrumbs.

Thanks!

Got it. Thanks!

Glad to be of help.

This archived topic is closed to new replies.