Am Using WordPress Blog.Here i want Use Tweetmeme Plugin.I want to show the output of the Tweetmeme Plugin to Customizing place(Side of the Post[Not Before or After]).The Plugin Creators are providing Shortcode.Shall i Use this shortcode in Template?I Guess this is not possible.So we need to change Shortcode as a function.How to Create a function from Shortcode?please help me.
Leave a Reply
You must be logged in to post a comment.
Have you tried using the
do_shortcode()
function?EDIT
I’m not familiar with the TweetMeme shortcode, but here’s an example usage for putting a NextGen Gallery directly into a template file:
Simply replace with the appropriate shortcode (and parameters) for TweetMeme.
Codex ref: do_shortcode()
EDIT 2
With TweetMeme, you have another option:
tweetmeme()
function in your Theme template file where you want to output the TweetMeme button.