WordPress-Shortcodes
If you want to see more,plz click http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/ to see all.
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.
What Are Shortcodes?
Using shortcodes is very easy. To use one, create a new post (or edit an existing one), switch the editor to HTML mode and type a shortcode in brackets, such as:
[html][showcase][/html]
It is also possible to use attributes with shortcodes. A shortcode with attributes would look something like this:
[html][showcase id='5'][/html]