Support » Plugins and Hacks » Jetpack by » Template Tag for Sharing Display

  • I know there’s a filter but is there a template tag which can simply hook in the buttons regardless of the plugin settings?

    Seems the filter has to be used to modify the plugins display settings.

    Show buttons on

    I prefer to hook in the buttons without any configuration of these settings.


    I thought i could simply add this tag to a custom functions with theme specific hook and conditional tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Richard Archambault


    Hi Brad!

    Have you taken a look at our tutorial on moving the sharing buttons?

    I suspect you have but just wanted to point you there in case you haven’t.

    sharing_display(); is the template tag, as mentioned there, but you can’t modify the display settings there; the tag will always respect the plugin settings on Settings -> Sharing.

    I’m not sure I have answered your question completely, so if you need further clarification, let me know!

    Thanks Richard

    Did see that however would like a more flexible option if you ever get the chance.

    Just love hooks and conditional tags but i do understand it requires people to make this happen in the plugins code.

    Or a widget because its super easy to hook in new widgets anywhere.

    Plugin Contributor Richard Archambault


    Hi Brad!

    If you have any specific suggestions of what we can do, I encourage you to open a new issue on Github:

    You don’t have to submit a pull request or code (though that would be awesome), but we do appreciate suggestions for improving Jetpack. Also, have a look here:

    You’ll find a bit more info on contributing via Github.

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Template Tag for Sharing Display’ is closed to new replies.