Chris
Forum Replies Created
-
Hi everyone,
I’m still having an issue here after the update Jetpack 7.2.
Same code as before
// remove related post from product page function exclude_jetpack_related_from_products( $options ) { if ( is_product() ) { $options['enabled'] = false; } return $options; } add_filter( 'jetpack_relatedposts_filter_options', 'exclude_jetpack_related_from_products' );
This time my product pages are returning the following (note the duplication):
<div id="jp-relatedposts" class="jp-relatedposts"> <h3 class="jp-relatedposts-headline"><em>Related</em></h3> </div> <div id="jp-relatedposts" class="jp-relatedposts"> <h3 class="jp-relatedposts-headline"><em>Related</em></h3> </div>
The product I posted before has been removed from the site, but you can still see the issue by visiting https://sandbox.paperandsage.com/premades/ and clicking through to an individual product page.
Hi jarledb and lizkarkoski
I’m having the same issue (the only difference is that I’m using WooCommerce’s is_product conditional tag).
The related post began appearing on product pages after installing Jetpack’s last update.
I’ve also taken the same troubleshooting step mentioned by jarledb (removing the conditional so that filter should apply to all post).
The following link will take you to one of our product pages.
https://sandbox.paperandsage.com/premades/id0811201701-just-call-my-name/Also, like jarledb I’m using the code recommended by filter documentation at:
https://jetpack.com/support/related-posts/customize-related-posts/Here is my implementation:
// remove related post from product page function exclude_jetpack_related_from_products( $options ) { if ( is_product() ) { $options['enabled'] = false; } return $options; } add_filter( 'jetpack_relatedposts_filter_options', 'exclude_jetpack_related_from_products' );
Here it is again without the conditional:
// remove related post from product page function exclude_jetpack_related_from_products( $options ) { $options['enabled'] = false; return $options; } add_filter( 'jetpack_relatedposts_filter_options', 'exclude_jetpack_related_from_products' );
Forum: Themes and Templates
In reply to: [Pinboard] Audio player problem with pinboard themedeanfp,
Thanks for looking to this. Using the MediaElement.js plugin did get the audio player to work on the post page, however, the problem has now moved to the blog/archives page.
The following link will take you to an archive with an audio post at the top.
https://www.fumcquanah.org/?s=wayne+elvisAt one time Pinboard handled an audio post-type like this quite eloquently. Now, without the MediaElement.js plugin this page displays no audio player at all. With the plugin it (using safari btw) the player is hidden until roll over and even then the player does not load or play the audio.
Forum: Themes and Templates
In reply to: [Pinboard] Audio player problem with pinboard themeSame problem here:
https://www.fumcquanah.org/2013/07/21/miracles-elvis-wayne-and-the-lord/