Social Sharing Toolkit
Does not play nice with the_content() outside loop (1 post)

  1. benklocek
    Posted 3 years ago #

    Using this plugin with another that uses the_content(), causes the sharing buttons to be added to that item as well. It happens with widgets that use the_content filter.

    The fix is changing line 721 in social_sharing_toolkit.com to
    if (is_feed() }} !in_the_loop()) {
    which makes it only run if it's within The Loop.

    More here: http://pippinsplugins.com/playing-nice-with-the-content-filter/, although I found "is_main_query" did not work, I had to use "in_the_loop".


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social Sharing Toolkit
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.