[Resolved] Remove the Post-Image

Home Forums Support [Resolved] Remove the Post-Image

Home Forums Support Remove the Post-Image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #600678
    Alexander

    Hi there,

    in the past, i used the following Code to remove the Post-Image:

    add_action( 'wp','generate_remove_page_header' );
    function generate_remove_page_header() {
        remove_action('generate_after_header','generate_featured_page_header', 10);
        remove_action('generate_before_content','generate_featured_page_header_inside_single', 10);
    }

    But it does no longer work.
    Is there an Update of that Code?

    #600917
    Leo
    Staff
    Customer Support

    Hi there,

    Are you wanting to remove featured images?

    If so you can actually use the customizer option: https://docs.generatepress.com/article/adjusting-the-featured-images/

    Let me know if this helps.

    #601117
    Alexander

    Ahh great! That’s it.
    So the old Script is obsolete.

    #601132
    Leo
    Staff
    Customer Support

    Yup. Customizer option is better.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.