47 responses to “Template Tag Shortcodes: WordPress Plugin”

  1. The Frosty @WPCult

    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

    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

    nice plugin for designers.

  4. Roy Tanck

    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

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

  6. Adam W. Warner

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

  7. Template Tag Shortcodes plugin adds lots of flexbility to Wordpress | Roy Tanck's weblog

    [...] Tadlock just released a brilliant WordPress plugin that lets you call template tags (the stuff theme developers use to display things) inside posts [...]

  8. Template Tag Shortcodes: WordPress Plugin « live.exofire.net

    [...] Read more: Template Tag Shortcodes: WordPress Plugin [...]

  9. Ian Stewart

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

  10. WordZine

    [插件推荐] Template Tag Shortcodes…

    WordPress 2.5 中加入的 Shortcode 是一个很强大的功能。通过它可以方便的插入代码块,或是实现 PHP 在文章编辑器中的执行等。本文要推荐的 Template Tag Shortcodes 插件就可以在文章编辑器中执行 PHP……

  11. Chris Hajer

    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.

  12. Danny

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

  13. Chris Hajer

    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.

  14. Bryan Harley

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

  15. Mijk

    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!

  16. WordPress Plugin Releases for 03/26 | Weblog Tools Collection

    [...] Template Tag Shortcodes [...]

  17. Bryan Harley

    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.

  18. R.A. Ray

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

  19. R.A. Ray

    Thanks man! Love the plugin so far.

  20. Theme Lab Will Live On | Theme Lab

    [...] pretty ordinary. One not-so-ordinary plugin, however, really caught my eye. It’s called Template Tag Shortcodes by Justin Tadlock. Basically, this lets you use template tags in a “shortcode” form in [...]

  21. Template Tag Shoutcodes:在文章及页面中调用Wordpress Template Tags [Wordpress插件] | Lucifr

    [...] 答案就是这个插件了:Template Tag Shoutcuts。 [...]

  22. Template Tag Shortcodes

    [...] as instruções de uso dos shortcodes usados nesse plugin. O post oficial do Justin Tadlock que lança o plugin aceita, nos comentários, sugestões de novos shortcodes a serem incluídos no plugin. Um lembrete, [...]

  23. WordPress Plugins: Template Tag Shortcodes at WordPress Today

    [...]   Template Tag Shortcodes,允许在Post或者Page中调入Template Tag。   举例来说,想调用wp_list_categories()这个tag的话,只需在文章或页面的编辑页面中写入[wp_list_categories]。这样就可以在文章中显示你的类别列表了。 [...]

  24. So Web » Blog Archive » WordPress Plugins: Template Tag Shortcodes

    [...] The answer is that the plug-in: Template Tag Shoutcuts. [...]

  25. Jack Elliot

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

  26. Chris TWiG Jelen

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

  27. Nelrak

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

  28. AK

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

  29. Template Tag Shortcodes: WordPress Plugin – wpden

    [...] Link: Template Tag Shortcodes: WordPress Plugin [...]

  30. glou

    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

  31. Jay Collier

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

  32. Controllable sidebar sections and shortcodes

    [...] Template Tag Shortcodes, which “turns many of the WordPress template tags into shortcodes that can be used in posts and pages.” And can be used in Section Widget. [...]

  33. Lewis Litanzios

    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

  34. Demetrio

    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

  35. John

    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!

  36. John

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

  37. ka81

    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.

  38. wordpress gallery shortcode update. </3 at.yamomzcrib.com

    [...] a bunch of the “core” functions/tags/etc that are available in WP. one guy even created a plugin that turns template tags into shortcodes. this lets me know that before i go off and try to rewrite history, a little more time on teh googz [...]

  39. @nomadone

    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.

  40. WP Things » Hello world!

    [...] installation (2.9.1) I use the plugin Template Tag Shortcodes By Justin Tadlock available here http://justintadlock.com/archives/2009/03/24/template-tag-shortcodes-wordpress-plugin Justin’s plugin rocks! I am also as of Jan 12th working off of a locally served Wordpress [...]

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 (e.g., 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.