Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    Our pro version allows you to move the featured image around inside the Customizer.

    In the free version, you can try this PHP:

    remove_action( 'generate_before_content', 'generate_featured_page_header_inside_single', 10 );
    add_action( 'generate_after_entry_header', 'generate_featured_page_header_inside_single' );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Let me know if that helps or not ??

    Thread Starter sylerg

    (@sylerg)

    It kinda works, but now the image is duplicated before and after the featured image????

    Theme Author Tom

    (@edge22)

    Let’s try this instead:

    add_action( 'wp', function() {
        remove_action( 'generate_before_content', 'generate_featured_page_header_inside_single', 10 );
        add_action( 'generate_after_entry_header', 'generate_featured_page_header_inside_single' );
    } );
    Thread Starter sylerg

    (@sylerg)

    Yes, it worked!!

    Thanks for your help??

    Theme Author Tom

    (@edge22)

    No problem! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The title before the image’ is closed to new replies.