59 Responses

  1. The Frosty @WPCult
    The Frosty @WPCult March 24, 2009 at 10:34 pm |

    That is a really awesome idea for a plugin! I’m for sure going to grab this and give it a run!

    Reply
  2. African Boy
    African Boy March 25, 2009 at 1:04 am |

    If only the plugin created a UI element to allow easy insertion while posting so users wont have to remember the format of a template tag

    Reply
  3. topcool
    topcool March 25, 2009 at 4:21 am |

    nice plugin for designers.

    Reply
  4. Roy Tanck
    Roy Tanck March 25, 2009 at 7:31 am |

    Will it parse attributes too? things like [wp_tag_cloud number="10"] to get ten tags? That would be great. And do the shortcodes work in text widgets too (which would effectively make them a sort of meta-widgets)? Love it btw, brilliant idea.

    Reply
  5. Many
    Many March 25, 2009 at 7:39 am |

    Short codes are way too cool. You made my day :D Thanks Justin !

    Reply
  6. Adam W. Warner
    Adam W. Warner March 25, 2009 at 7:58 am |

    Awesome plugin Justin, and great question Roy, I’m anxious to know the answer.

    Reply
  7. Template Tag Shortcodes plugin adds lots of flexbility to Wordpress | Roy Tanck's weblog
  8. Template Tag Shortcodes: WordPress Plugin « live.exofire.net
  9. Ian Stewart
    Ian Stewart March 25, 2009 at 9:09 am |

    This is a super-cool Sauron-style plugin (1 shortcode plugin to rule them all!), Justin. Does [the_author_email] use antispambot()?

    Reply
  10. WordZine
    WordZine March 25, 2009 at 10:32 am |
  11. Chris Hajer
    Chris Hajer March 26, 2009 at 2:32 am |

    Another awesome plugin Justin. I’ve always had trouble turning over a site to a client, where I used php in a post or page with the runPHP plugin, then they go to edit that post with the visual editor and it gets all messed up and stops working. I’ve written a few small plugins for myself and found a few others to replace a couple specific needs I had (wp_list_pages being one, to list child pages on a parent page) but this is really awesome. I am going to see if I can stop using the runPHP plugin altogether and just use this instead.

    Thanks very much.

    Reply
  12. Danny
    Danny March 26, 2009 at 6:53 am |

    I’ve just installed this plugin, no problems or anything. Really useful. Can’t wait for more shortcodes!

    Reply
  13. Chris Hajer
    Chris Hajer March 26, 2009 at 10:24 am |

    Please please please always keep it this way:

    > The goal was to adhere to the same rules as the WordPress template tags.

    This is exactly how I would expect it to work. If you decide to extend the plugin, please make sure that all the base functionality of the template tags goes unchanged. After years of getting used to passing parameters to template tags, I would hate to have to unlearn that to use this awesome plugin.

    Thanks again.

    Reply
  14. Bryan Harley
    Bryan Harley March 26, 2009 at 11:40 am |

    Great idea for a plugin Justin! If you could get this work with the_meta and custom fields, that would be amazingly awesome!!!

    Reply
  15. Mijk
    Mijk March 26, 2009 at 2:03 pm |

    Awesome!
    Last few days you are furfilling my plugin dreams! First cleaner gallery, widgets reloaded, widget-reset, then get-the-image (way cool), query posts and now this! I am almost exclusively using your plugins, there is no need for any else.

    You are making my world better every day, thank you so much!
    I am about to join exclusive hybrid theme club (at this moment I am just solving PayPal issue) and so at least a bit help you continue developing those amazing frameworks.

    Thank you, man!

    Reply
  16. WordPress Plugin Releases for 03/26 | Weblog Tools Collection
  17. Bryan Harley
    Bryan Harley March 26, 2009 at 7:01 pm |

    I’d love to have that functionality too. I think it would totally revolutionize the use of custom fields!!!

    Figure it out! You can do it! Heh heh.

    Reply
  18. R.A. Ray
    R.A. Ray March 30, 2009 at 6:11 pm |

    Are there tags for comments that I’m just missing? Specifically, I’m needing comments_number().

    Reply
  19. R.A. Ray
    R.A. Ray March 31, 2009 at 9:14 am |

    Thanks man! Love the plugin so far.

    Reply
  20. Theme Lab Will Live On | Theme Lab
    Theme Lab Will Live On | Theme Lab March 31, 2009 at 4:03 pm |
  21. Template Tag Shoutcodes:在文章及页面中调用Wordpress Template Tags [Wordpress插件] | Lucifr
  22. Template Tag Shortcodes
    Template Tag Shortcodes April 2, 2009 at 10:58 am |
  23. WordPress Plugins: Template Tag Shortcodes at WordPress Today
  24. So Web » Blog Archive » WordPress Plugins: Template Tag Shortcodes
  25. Jack Elliot
    Jack Elliot May 1, 2009 at 9:45 pm |

    THANK YOU FOR MAKING THIS. <3 <3 <3

    Reply
  26. Chris TWiG Jelen
    Chris TWiG Jelen May 8, 2009 at 11:48 pm |

    This was exactly what I was looking for. Thanks, a huge super big alot! hehe

    Reply
  27. Nelrak
    Nelrak May 26, 2009 at 4:09 am |

    thanks, this is very useful plugin for “lazier” like me, hehe…

    Reply
  28. AK
    AK May 28, 2009 at 5:22 am |

    Love the plugin! For the same reasons as people list above (letting clients edit pages without messing them up). Bravo Justin!

    Feature request: The ability to NEST template tags (or use variables). IE: If I want to show the pages that are in the same parent/child relationship in a particular thread, something like

    [wp_list pages [the_ID]]

    I know this can be done in PHP, but it would be oh so nice to be able to do it in Template Tag Shortcodes ;-)

    Reply
  29. Template Tag Shortcodes: WordPress Plugin – wpden
  30. glou
    glou August 1, 2009 at 9:01 am |

    Thanks for this plugin Justin.
    Just one question : is there any way to use [the_title] with the ID parameter? As it can be done with [get_permalink id=244] to show the permalink of one post in another one.
    Thanks
    Glou

    Reply
  31. Jay Collier
    Jay Collier August 7, 2009 at 5:20 am |

    This is super!

    One question. [wp_list_categories] returns list items, but no enclosing or

    Any suggestions of shortcodes my WYSIWYG editors could use to enclose the list.

    Like [ul] [/ul] ? ;)

    Reply
  32. Controllable sidebar sections and shortcodes
  33. Lewis Litanzios
    Lewis Litanzios August 19, 2009 at 7:50 am |

    Hi mate,

    Is there any way to filter [wp_list_categories]?

    For example I don’t need all category groups, and their sub categories. Just one group. If I could I would be using something like:

    … in my code.

    Thanks,
    L

    Reply
  34. Demetrio
    Demetrio October 6, 2009 at 4:47 am |

    is it possible to insert in the future the last posts written with the function of wordpress??

    Example

    .aaaa
    .bbb
    .ccc
    .ddd

    5 posts recently

    Reply
  35. John
    John October 14, 2009 at 8:55 am |

    Ever since OZH Random Words plugin broke with 2.8, I am in desperate need of a random text plugin that works within posts.

    There is Random Text by Pants on Head which is compatible with 2.8 but it only displays via widget or template tags.

    Can I pay you to add shortcode functionality to Random Text by Pants on Head?http://wordpress.org/extend/plugins/randomtext/
    http://www.pantsonhead.com/wordpress/randomtext/

    Please email me. I really need it!

    Reply
  36. John
    John October 14, 2009 at 9:01 am |

    Oh, let me add, because it’s not clear in the instructions, the plug in adds random text via this template tag:

    Reply
  37. ka81
    ka81 November 6, 2009 at 11:28 am |

    Hello!

    Thanx for a plugin!!
    i’m using – [wp_tag_cloud] in post (publication)
    can smbd please tell how to asign a class for that code??
    i see the source is:
    Gillian Anderson
    David Duchovny
    Ken Camroux
    so, in style.CSS i put
    .tag-link {text-decoration:none; color:black;}
    .tag-link a {text-decoration:none; color:black;}
    but no result.

    please help.

    Reply
  38. wordpress gallery shortcode update. </3 at.yamomzcrib.com
  39. @nomadone
    @nomadone December 5, 2009 at 4:48 pm |

    Nice one, would definitely come in handy.

    I’ve been trying to find the opposite type of thing however, need to learn how to turn a shortcode into a template tag.

    Reply
  40. WP Things » Hello world!
    WP Things » Hello world! January 27, 2010 at 2:41 pm |
  41. Prabowo Murti
    Prabowo Murti March 16, 2010 at 10:10 am |

    Hi Justin
    Thanks for creating such a great plugin. Unfortunately, I failed to add ‘tags’ shortcode.

    function tags_guwe_banget ($atts) {
    global $wpdb, $post;
    if (!empty($post->ID)){
    $tags = implode(“,”, $atts);
    wp_set_post_tags($post->ID, $tags, true);
    }
    //wp_set_post_tags($post->ID, $atts[0], true);
    return ;
    }
    add_shortcode(‘tags’, ‘tags_guwe_banget’);

    It works if the tag is only one single word such as php, wordpress, shortcode, or obama. But it fails when I write it this way.. [tags Barrack Obama, Michael Jackson]. It produces 4 different tags: barrack, obama, michael, and jackson. How do I make it right? Many thanks!

    Reply
  42. swexican
    swexican August 9, 2010 at 9:32 am |

    Hi there Justin,

    Thanks for a great plugin. Would it possible to add support for more bloginfo parameters? (http://codex.wordpress.org/Function_Reference/bloginfo). Right now it defaults to “show” but it would be nice to be able to get things like description, url, template_url and so on.

    Just an idea :)
    -swex

    Reply
    1. swexican
      swexican August 10, 2010 at 10:14 am |

      Justin, forget what I wrote, I just found out it accepts all available parameters. My bad, remove the comment if you want ;)

      -swex

      Reply
  43. RJ
    RJ September 14, 2010 at 8:53 pm |

    This plugin is awesome! Whew thanks! ^_^

    Reply
  44. micx51
    micx51 October 1, 2010 at 1:29 am |

    Thanks, great plugin!

    Reply
  45. Travis
    Travis November 6, 2010 at 10:50 am |

    Love the plugin! I use it EVERY day!

    Would it be possible to add a shortcode used by another plugin?

    Right now I use your plugin to display recent posts more prominently within a post Example: http://bit.ly/ccKEQ1

    I would also like to add “related” posts using the “WordPress Related Posts” plugin (http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/)

    I’m not a coder, but am comfortable adding code to a file. I don’t see a “subscribe to comments” option, so you can email me here: http://chiefscommand.com/about-chiefs-command/contact-chiefs-command/

    Thanks!

    Reply
  46. Chris
    Chris November 14, 2010 at 6:40 am |

    Great plug-in!

    Just used it on a clients website and worked like a treat!

    nice work Justin

    Reply
  47. Bill
    Bill December 7, 2010 at 3:33 pm |

    Would you consider adding support for more mundane template tags, like the_content, the_excerpt or the_post_thumbnail?

    Reply
  48. Elena C
    Elena C April 6, 2012 at 5:27 pm |

    How can I show just subcategories under a certain category or subpages under a certain parent page? Even better if there is a way to list them with bullets or numbering.

    Thanks!

    Reply
  49. Adrian Hodge
    Adrian Hodge May 14, 2012 at 4:50 am |

    Just found this, what a fabulous plugin for so many uses!

    Wonderful, simple and all you need. Thank you Justin.
    This one’s going ‘straight to the pool room’!

    Reply
  50. nandakumar
    nandakumar April 26, 2013 at 5:16 am |

    Great plug-in!

    nice work Justin

    Reply

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.