WordPress.org

Ready to get started?Download WordPress

Forums

Social Media Shortcodes
Templates Tags (2 posts)

  1. vaibhav4
    Member
    Posted 1 year ago #

    Hey can this provide template tags for using it?

    http://wordpress.org/extend/plugins/social-media-shortcodes/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    Hi vaibhav4, you should be able to use do_shortcode() with this, link below, but I will definitely take into consideration creating a template tag to use with it as well.

    Off the top of my head, I could see possibly setting it up as the_smsc('service', 'username', 'link text') which would echo, or get_the_smsc('service', 'username', 'link text') which would return, following WordPress' example. I don't know if I'd want to set up a template tag for each service, as that'd get long and require the user to remember too many sites, and I'd have to accommodate for too many unknown factors.

    Thanks for the feedback though :)

    http://codex.wordpress.org/Function_Reference/do_shortcode

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic