Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Remove Post Image from Code

Home Forums Support Remove Post Image from Code

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #137340
    bdbrown

    Good deal 🙂 Glad we finally got it working.

    #137347
    Tom
    Lead Developer
    Lead Developer

    With the Page Header add-on activated:

    add_action( 'wp','generate_remove_page_header' );
    function generate_remove_page_header() {
        remove_action('generate_after_header','generate_page_header', 10);
        remove_action('generate_before_content','generate_page_header_inside', 10);
        remove_action('generate_before_content','generate_page_header_single', 10);
        remove_action('generate_after_header','generate_page_header_single_above', 10);
    }
    #137402
    Alexander

    Works too!
    -:)

    #506097
    Konstantin

    Not working everythig(((

    #506098
    Konstantin

    Not working everything

    #506205
    Leo
    Staff
    Customer Support

    Hi there,

    Sorry what’s your question?

    This topic is super old from 2015 so please open a new topic.

    Thanks!

    #600545
    Alexander

    Hi,

    may it be, that this script to remove the Post-Image no longer works?

    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);
    }
    #600670
    David
    Staff
    Customer Support

    Hi Alexander, seems we have a few old topics here. Do you have an issue? If so please can you open a new topic so we can assess.

    #600679
    Alexander
Viewing 9 posts - 16 through 24 (of 24 total)
  • You must be logged in to reply to this topic.