WordPress.org

Forums

Simple Share Buttons Adder
[resolved] Template code? (8 posts)

  1. dambacher
    Member
    Posted 1 year ago #

    Hi David, can I add this to a template using a template code? I really like this plugin and would like to use it on the author template.

    Thanks

    http://wordpress.org/extend/plugins/simple-share-buttons-adder/

  2. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, thanks for your question. I'm not sure I 100% understand what you mean. Do you want to integrate it within your header/footer for example?

  3. barrycrous
    Member
    Posted 1 year ago #

    Would also like to see this as we're using a unconventional product layout and the ability to place it in a specific location will be super.

  4. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    Hi both,

    Do your templates allow you to use shortcode in set locations?

    Simple Share Buttons can be called using [ssba]. Another user has reported successful use of this so hopefully it will be the same for you.

    If you could explain a little further exactly what you're hoping to achieve I'll happily see what can be done.

    Thanks,
    David

  5. barrycrous
    Member
    Posted 1 year ago #

    Perfect! Thanks David

  6. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    No problems at all, happy to hear it worked for you!

  7. dambacher
    Member
    Posted 1 year ago #

    Could try something like this to add directly to a template file.

    echo do_shortcode('[ssba]');

  8. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    Hi dambacher,

    Thanks for the comment, I should have revisited to mention that works perfectly!

    For those out there reading this, it will need to be wrapped in php tags if placing it within HTML - <?php echo do_shortcode('[ssba]'); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.