ThemeLab's Blog

Stay up to date with our newest WordPress themes, WordPress plugins, WordPress tutorials, and other announcements.

Introducing the WordPress Template Tag Lookup Tool

Last Updated on by

When working on WordPress themes, it’s always nice to have the Template Tags page open to look up anything I may not be sure of. It became a pretty annoying task to switch from page to page, looking for the correct template tag – so I decided to have a custom tool developed called which would speed up the process. I call it the WordPress Template Tag Lookup Tool, and I’m sharing it with all of you.

WordPress Template Tag Lookup Tool

This tool is powered by Ajax, which means no page reloads. I hope all of you aspiring WordPress coders find this as useful as I have. Enjoy.

  • Nick Berlette

    Quite a handy tool. Definitely going to be putting this one to use, already bookmarked it.

    Thanks Leland!

  • Roshan

    it would definitely be a great tool. but, why am I not able to use it ? showing a php error?.

  • Leland

    @Roshan: What’s the PHP error you see? Works fine for me.

  • Leland

    Sorry about that, I see the error…it should be fixed now.


    That is definitely going to speed up my work. Thanks Leland!

  • Andrea_R

    Woot! thanks. :)

  • Mark

    While I appreciate this tool and any other such product that helps in documentation efforts and in streamlining and increasing efficiency of finding relevant code pieces, the efficacy and usefulness of the tool will be borne out by constant updates to the functions that are in the core. Without constant updates to the documentation, this cool tool not only becomes obsolete, it also poses some serious problems for the development community. Think of the developer that might find this a year from now, base their code on information found in this tool and then realize that either the function has been deprecated or worse, modified to represent something completely different in the latest stable release.

    That being said, I urge you to update it as often as possible and stay on top of absorbing and propagating changes to the core. Kudos on setting up this tool.

  • Leland

    @Banago, Andrea: You’re welcome!

    @Mark: I completely agree with you and will definitely try to keep up with the latest releases and make changes and additions when necessary.

    Thanks for the comments everyone.

  • WordPress Modder

    Hi Leland, great idea for a handy tool! It took me a few minutes to figure out that I needed to put in the exact function name in order for it to display the expected results.

    You’re readers may be interested in this printable list of WP Template Tags (or functions).

    Using these in conjunction with your tool should give us all the most convenient access to tools we need to build our WP sites.

  • WordPress Modder

    Ooooh, another thought, how about this tool for the plugin API?

  • Leland

    That’s a great idea, Adam. Certainly a possibility for a future tool. By the way those cheatsheets are great – thanks for the link.

  • WordPress Modder

    You’re welcome. I noticed they’re for version 2.0, so I’m not sure if any of those tags have been deprecated, but it works for me;)

  • Roshan

    Yes, it does work now! Thanks for this. it is extremely useful

  • Pingback: WordPress Weekly Episode 18 | Jeffro2pt0