Shortcodes: WordPress’s Easter Egg

by Joshua Unseth on February 15, 2009


Having worked with WordPress for some time now, I am embarressed to admit that I knew very little about what are called shortcodes.

Smashing Magazine just put out a great article describing how one can use shortcodes on their wordpress sites. Still wondering what a shortcode is, if your a theme developer, basically it’s a lot like a custom field that you put directly into the content section of a post. If your not a theme developer and you have no idea what I’m talking about, I’ll put it into layman’s terms. Basically, shortcodes are little snippets (sort of resembling HTML) that wordpress looks for and expands when a post is published. It’s that simple. If you’re interested in learning a bit more about shortcode, read Smashing Magazine’s explanation.


Leave a Comment

Notify me of followup comments via e-mail. You can also subscribe without commenting.