WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Template code?

[Resolved] Template code?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Simple Share
    Participant

    @davidoffneal

    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?

    barrycrous
    Participant

    @barrycrous

    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.

    Plugin Author Simple Share
    Participant

    @davidoffneal

    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

    barrycrous
    Participant

    @barrycrous

    Perfect! Thanks David

    Plugin Author Simple Share
    Participant

    @davidoffneal

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

    dambacher
    Member

    @dambacher

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

    echo do_shortcode(‘[ssba]’);

    Plugin Author Simple Share
    Participant

    @davidoffneal

    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]’); ?>

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Template code?’ is closed to new replies.