Please note: This forum is now closed. All the support related enquiries should be reported on wordpress support forum for jigoshop plugin – thanks, Jigoshop Team

When I add Featured image on product page the header image also changes to that image

Q: I can add pictures to my product page, but when I try to make one the featured image it then changes the header image of that page to be the featured image as well. It only effects that page.

A: Solutions for:

  • Weaver 2 Theme: in Header Settings has a setting to hide featured image as header

  • Skeleton Theme:

You juste need to change a number on the "header.php" file:

 // Check if this is a post or page, if it has a thumbnail, and if it exceeds defined HEADER_IMAGE_WIDTH
    if ( is_singular() && current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail( $post->ID )
    && ( /* $src, $width, $height */
    $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ))
    &&
    $image[0] >= HEADER_IMAGE_WIDTH ) :

 // Change the above number 0 to 1 if you want featured image displayed in the header when viewing posts