primer icon indicating copy to clipboard operation
primer copied to clipboard

WooCommerce theme overrides featured-image header setting

Open cgrayson opened this issue 5 years ago • 1 comments

On sites using this theme and the WooCommerce plugin, posts' featured images are always shown in the header, even if the use_featured_hero_image setting is off.

cgrayson avatar Jan 04 '20 20:01 cgrayson

Can confirm this. The issue comes from here: https://github.com/godaddy-wordpress/primer/blob/45156b091c0162584c6e7d5ae9348a5911c3f858/inc/compat/woocommerce.php#L739

Apparently ! is_product() is always true when WooCommerce is active

nilshellerhoff avatar Feb 28 '22 11:02 nilshellerhoff

Closing issues and PRs in preparation for repository archival

aledesma-godaddy avatar Mar 13 '23 19:03 aledesma-godaddy