AddThis Related Posts for Single Blog Post Page

Hi Team,

I installed the AddThis Related Post plugin but the related posts do not show up. Specifically, I want the related posts to appear on my single blog post page at the bottom of the post. I did find a thread on this and tried the solution below but it is still not showing up. This was posted into my functions.php child theme.

  >  add_filter( 'the_content', 'custom_add_this');
function custom_add_this($content) {
   if ( is_single() ) {
      return $content . '<div class="addthis_relatedposts_inline"></div>';
   } else {
      return $content;
   }
}

Any suggestions?

Thank you

Hi Sylvia,

Thank you for writing in, It sounds like you might be having an issue with a third party plugin. Regretfully, we cannot provide support for third-party plugins due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to the theme will need to be directed to the original developer.

I believe the AddThis plugin has the option to put the share icons on posts.

WordPress Share Buttons Plugin – AddThis

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.