Performancing Metrics

Mastering WordPress Shortcodes

Shortcodes are a nice way of doing complex things within a post, without having to push PHP code through ExecPHP or one of those other plugins. Many plugins already make use of short codes allowing you to easily insert information into your posts.

Smashing Magazine has done a great job of explaining WordPress Shortcodes, how you can take advantage of them, and even write your own.

Introduced in WordPress 2.5, shortcodes are powerful but still yet quite unknown WordPress functions. Imagine you could just type “adsense” to display an AdSense ad or “post_count” to instantly find out the number of posts on your blog.

WordPress shortcodes can do this and more and will definitely make your blogging life easier. In this article, we’ll show you how to create and use shortcodes, as well as provide killer ready-to-use WordPress shortcodes that will enhance your blogging experience.

Of course you can go too overboard with these sorts of things, so I recommend limiting your shortcodes to less than five items, but it can be a great way to speed up what could be otherwise monotonous work when blogging.

Categories: WordPress Hacks, WordPress Tutorials

This post was written by . You can visit the for a short bio, more posts, and other information about the author.

Comment with Your Facebook Account


  1. Lahana Kapsülü says: 4/16/2009

    Lahana Kapsülü, Cabbagepow, Lahana Çorbası Kapsülü, Lahana Hapı, Zayıflama Hapı


  2. blances says: 4/22/2009

    Thank you


  3. Breit says: 7/10/2009

    Powerful way. I like and will use it later.


  4. cheap watches says: 9/29/2009

    I was just searching for about this when I discovered your blog post. I’m only visiting to say that I truly
    enjoyed reading this post, it’s really well written. Are you going to blog more on this? It looks like there’s
    more material here for more posts.


  5. Dropshippers says: 4/19/2011

    Shortcodes are great, it took me a while to get my head around them but once you do the styles and layouts you can do are amazing.