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
-
Getting Started
-
Jigoshop Settings
-
Creating Products
-
Using Jigoshop
-
Customize Jigoshop
-
Testings – in case of problems on Jigoshop web site
-
FAQ – Jigoshop plugin user questions
- Add a new tab to a product page / Custom tabs on product pages?
- Adding a Continue Shopping button to the single product page
- Adding Product Category Terms in a dropdown box for Custom Post Meta
- Add Alternate text on product picture and title
- Adding buttons / info to the end of each product
- View all (171 more)
-
FAQ – Jigoshop extensions user questions
-
API
-
Screencasts