• Resolved tashmina

    (@tashmina)


    Hi – amazing plugin – has anyone else found an easy way to NOT show sharing buttons when posts are in the sidebar? Or any particular sharing plugin which works best with TPG Get Posts? I want to show sharing buttons when the posts are on a page but not when they are in a sidebar……….any help from any other users would be much apprciated!

    https://www.ads-software.com/plugins/tpg-get-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Criss Swaim

    (@cswaim)

    Usually the social media icon are displayed by registering code to an after post hook. Then after each post, the code is called and the icons displayed.

    To turn this off, you will need some php & WP coding skills. The extension to the base plugin provides a pre and pst shortcut ‘hook’ which will allow the filter for the social media to be unregistered, process the shortcode, then re-register the social media filter.

    I don’t know of a simpler way to achieve the results.

    Thread Starter tashmina

    (@tashmina)

    Thank you very much. I understand.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sharing buttons – not to display when posts in sidebar’ is closed to new replies.