Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Remove Featured Image on Posts #49665
    glenda
    Member

    Thanks for your speedy reply sakin. I found some code from another thread that fixed it. Created a child theme and put that in there.

    And just in case there’s someone else reading this who has the same problem – here is what that code was. 🙂

    <?php
    /**
    * Catch Evolution Child Theme functions and definitions
    *

    */
    /**
    * Header Image
    *
    * Uses Custom Header and Featued Images
    * @Hooked in catchevolution_headercontent
    * @since Catch Evolution 1.0
    */
    function catchevolution_featured_header() {
    global $wp_query,$_wp_default_headers;

    // Header Image
    $header_image_path = get_header_image();

    if ( get_header_image() ) : ?>
    <div id=”header-image”>
    ” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” alt=”” />
    </div>
    <?php endif;

    } // catchevolution_featured_header

    in reply to: Remove Featured Image on Posts #49619
    glenda
    Member

    It doesn’t really do the job (for me). It completely removes the header image from single post pages – as the code suggests.

    Is there a way to turn off the function of the featured image replacing the header on single post pages?

Viewing 2 posts - 1 through 2 (of 2 total)