Related Posts showing twice
-
In the last few days, my “Related Posts” has been showing a row of 3 related posts – and then the same posts again. So I get 6 posts.
I don’t have any custom code in my theme relating to JetPack.
If I add:
function jetpackme_more_related_posts( $options ) { $options['size'] = 2; return $options; } add_filter( 'jetpack_relatedposts_filter_options', 'jetpackme_more_related_posts' );Then I get 4 related posts!
I can remove the automatic placement correctly. But if I use
echo do_shortcode( '[jetpack-related-posts]' );then I get the double related posts.The HTML injected into my page is
<div id='jp-relatedposts' class='jp-relatedposts' ><h4><hr class="hr-bottom">More posts from around the site:</h4></div>so that only appears once.The page I need help with: [log in to see the link]
The topic ‘Related Posts showing twice’ is closed to new replies.