58 Responses

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

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

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

    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

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

    nice plugin for designers.

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

    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.

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

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

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

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

  7. Ian Stewart
    Ian Stewart March 25, 2009 at 9:09 am | | Reply

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

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

    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.

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

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

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

    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.

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

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

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

    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!

  14. Bryan Harley
    Bryan Harley March 26, 2009 at 7:01 pm | | Reply

    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.

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

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

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

    Thanks man! Love the plugin so far.

  17. Theme Lab Will Live On | Theme Lab March 31, 2009 at 4:03 pm |
  18. Template Tag Shortcodes April 2, 2009 at 10:58 am |
  19. Jack Elliot
    Jack Elliot May 1, 2009 at 9:45 pm | | Reply

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

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

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

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

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

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

    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 ;-)

  23. glou
    glou August 1, 2009 at 9:01 am | | Reply

    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

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

    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] ? ;)

  25. Lewis Litanzios
    Lewis Litanzios August 19, 2009 at 7:50 am | | Reply

    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

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

    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

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

    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!

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

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

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

    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.

  30. @nomadone
    @nomadone December 5, 2009 at 4:48 pm | | Reply

    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.

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

    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!

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

    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

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

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

      -swex

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

    This plugin is awesome! Whew thanks! ^_^

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

    Thanks, great plugin!

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

    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!

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

    Great plug-in!

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

    nice work Justin

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

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

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

    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!

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

    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’!

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.