Site logo

hooks

Custom Navigation Menu Per Page

Is there any way in GeneratePress to have custom navigation menus similar to how you can with the page header feature? Basically, I’m working on a site and I would like to have the main navigation on the home page to sit above the custom page header, I would also like the logo to sit … Read more

Hook question

I’m using this plugin: https://wordpress.org/plugins/insert-pages/ to insert a custom footer I made with Elementor, via shortcode into the “before footer content” hook location so that it inserts the layout on all the pages. However, I have a need to NOT display the footer on particular page. Is there some way that I can exclude certain … Read more

Hook Locations

Is there a graphic showing the location of the hook insertion points?

Using hooks and beaver builder to create a footer

Hi there, I have found things related to my question but they all assume a basic understanding of coding which I don’t really have. As such I’m using the beaver builder plug-in to design my website. I’m trying to design a fully customizable footer using a row in beaver builder, then use hooks to assign … Read more

Rotating Blog feed header

Hi 2 questions: 1. im trying to create a rotating blog feed on a page. similar to this – http://wordpress-9798-57165-164849.cloudwaysapps.com/publications/ ie the 3 dark images would be blog posts and rotate thru. and then only for a certain page. 2. id like to have a separate header for each page ie each page would have … Read more

Before Header Hook – mobile

Hi, I’m using this snippet in the Before Header hook to create a top bar: <div class="above-header-bar"> <div class="grid-container grid-parent"> <div class="grid-100"> Call us on:<a href="tel:1234567890"><span>1234567890</span></a> </div> </div> </div> I have Mobile Header enabled. While this is ok when testing the site responsively in Customizer, the div fails to show on a mobile. How can … Read more

Replace Header Text

Out of the box, GeneratePress has a text header title. For reference, it’s the text that happens within the place “main-title”. (I’m not referring to the page title that appears in the browser title bar.) I’d like to dynamically change this text with a php function. I’ve already written the php function and it works … Read more

Different blog columns layout on specific category?

Hi, I need a blog columns layout, using the Blog add-on, different on one category archive page. Is there a hook for that? I know I can change the sidebar layout by category using GP hooks and conditionals (https://generatepress.com/knowledgebase/choosing-sidebar-layouts/) but I don’t know how to have different columns # in a blog column layout for … Read more

Conditional Hooks

I love your implementation of hooks with the add-on, however, it’d be awesome if you took it a step further to have ‘conditionals’. That’d make it easier to have a hook only take action on specific pages/categories/tags/etc. without having to construct the conditional statements. Something similar to this: https://beavertunnels.com/features/ Keep up the great work!

Need to Move Part of Header to the Left

I’m starting another website at http://mapenterprises.info/ I have a small .mp4 file in the header using GP hooks. It is overlapping the end of the page because I have position: relative, but if I make it absolute then it disappears altogether. I read about z-index and saw that it is supposed to be -1 but … Read more