WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Template Tag for Sharing Display (4 posts)

  1. WP Sites - Brad Dalton
    Member
    Posted 1 year ago #

    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.

    sharing_display();

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

    https://wordpress.org/plugins/jetpack/

  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi Brad!

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

    http://jetpack.me/2013/06/10/moving-sharing-icons/

    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!

  3. WP Sites - Brad Dalton
    Member
    Posted 1 year ago #

    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.

  4. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi Brad!

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

    https://github.com/Automattic/jetpack/issues/new

    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:

    http://jetpack.me/contribute/

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

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags