Site logo

Archived topic

Page header position

5 replies · Started by Krzysztof on May 25, 2016

Viewing posts 1–6 of 6

I want to set page header position below the title just like it's for post header. Tom could You this feature?

You can do this in "Customize > Layout" at the very bottom :)

Tom, this option works only for posts - I want to set it for pages.

Why isn't that an option? I'm not sure lol

Try this:

add_action( 'wp','generate_move_page_header' );
function generate_move_page_header()
{
    remove_action('generate_before_content','generate_page_header_inside', 10);
    add_action('generate_after_entry_header','generate_page_header_inside', 10);
}

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

In order for the above to work you need the setting set to "Inside Content Area".

Thanks! This solution is perfect! :)

You're welcome :)

This archived topic is closed to new replies.