add a shortcode into every post?
or add something after the content of every post?
i need to add shortcodes for twitter and FB liking at the end of every post. this could come immediately after the content or as the final inclusion of the content.
In that case a shortcode maybe the wrong thing to use, look at filtering the_content and adding your icons that way.
the reason i am looking to use shortcodes to insert the buttons is that i can easily strip them out of the WPTouch theme so they don’t show up on mobile.
you can remove filters as well.
Look at the do_shortcode()
function. That should help you do what you want.
the problem is with how the FB Like inserts the filter into the content that makes it difficult to pull out due to its use of variables. unfortunately, it is the only plugin I have found that works a specific way.
essentially, i am looking for a plugin that will insert the shortcode for me without having to edit my template files.
Hey Curtiss,
What do you mean “Look at the do_shortcode() function?
Would deleting that allow shortcodes to show up in WPtouch 1.9?