Site logo

hooks

After Content Hooks displays on Home Page too

I was trying to add a short code to my after content hooks so it will just add to my full posts but it displays on my home page after each recent post which I don’t want it to. I just want it after the full post.

Background color issues with hook

Hello, I am designing a template and I have a problem. I have had to change the position of the menus to put the secondary menu first, then a DIV for a slider and followed the main menu. I have disabled the menus and then added these lines in the GPHook “After Header” to be … Read more

Having a problem with hooks

I’m trying to add some html before the header. For some reason, it won’t run. My page is called news <?php if ( is_page( ‘news’ ) ) : ?> <h1 style=”color:black;”>Hello</h1> <?php endif; ?>

Hide hooks on certain pages

Hi. If I’m using hooks to show a custom-made footer, via shortcode from a Elementor Section, how can I hide that footer-hook on certain pages? Because if I create a landing-page by hiding all elements of the page via GeneratePress Add Ons, the hook is still visible in the landing page… Tanx!

Exclude Yoast Breadcrumbs On A Page

Hi I would like to exclude Yoast breadcrumb on a page. I tried to use this code which worked on a different hook (which is just an HTML code). But it must be a different one for this Yoast code because this returns an error. The code I used: <?php if ( ! is_page( array( … Read more

Beaver Tunnels vs GP Premium Add-ons hooks

I have a license for both GeneratePress Add-ons and BeaverTunnels. Do these two plugins play nicely together? Since I own GP Add-ons, is BeaverTunnels even relevant?

Hooks not working?

Hi, I’ve lost the header on my site https://wolfmediaplus.com. It’s supposed to be showing a Beaver Builder template which contains my logo, tag line, and call to action button. Here’s what I’m using in GP Hooks: <?php echo do_shortcode( ‘[fl_builder_insert_layout slug=“wmpheader”]’ ); ?> This code worked before and now it is not. Any ideas? thanks, … Read more

pop -up conflict with GP Premium Hooks

Hi Tom, Best Wishes to you and all here at GP for 2017. I have a preferred pop-up plugin and, when “GP/Hooks” is active, the body of the pop-up appears, but no text or images in the pop-up. I’ve been through all my plugins and GP Hooks is what does it. Any thoughts on maybe … Read more

Merging header and navigation in GP Premium

Not to be dense, but I’ve read this support documentation several times and cannot find some of the corresponding settings in GP Premium. Additionally, the UI of the Page Header add-on looks very different from the Customizer setup in Premium. What am I missing here, besides the proverbial boat?