Social Icons Displaying in wrong places
-
Hello. I have an issue on my site where the social icons are being displayed in areas they should not be.
Here is an article explaining the exact problem and solution:
https://pippinsplugins.com/playing-nice-with-the-content-filter/
The part that I am referring to is:
In order to solve this problem, we can use one more conditional tag. The is_main_query() function was introduced in WordPress 3.3 and allows us to check whether we are currently inside of the main post query. The main post query can be thought of as the primary post loop that displays the main content for the post/page or archive. By using this tag, our filter will NOT get applied to any custom loops in sidebars, footers, or elsewhere, even if they use this:
So, can you please update your plugin to fix this issue? I’m sure it will solve compatibility issues with many plugins/themes.
Thanks!
- The topic ‘Social Icons Displaying in wrong places’ is closed to new replies.