Support » Plugins » Add a shortcode after every post

  • i am trying to find a plugin that will allow me to insert shortcodes into every post. i know i can do this via the templates, but want to make sure it will survive upgrades and theme changes.

    any recommendations?

Viewing 8 replies - 1 through 8 (of 8 total)
  • add a shortcode into every post?

    or add something after the content of every post?

    Thread Starter 8bitkid

    (@8bitkid)

    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.

    Thread Starter 8bitkid

    (@8bitkid)

    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.

    Thread Starter 8bitkid

    (@8bitkid)

    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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add a shortcode after every post’ is closed to new replies.