Display the Shortcode

By Courtney | Must Reads (Curated)

Yesterday I shared a post about little know WordPress features.  I’ll be honest, I already knew about most of them.  However today will browsing through the Advanced WordPress group on Facebook I found a post by Alex Mills in which I learned something new!

If you have used WordPress for any amount of time, I’m sure you have used a shortcode or two to add functionality to your site.   When you place a shortcode in the post editor it is then replaced by what the shortcode function outputs.  It’s an easy way to format and add content to a post or page.

Alex asked, “Have you ever wanted to display a shortcode in a post?”  Yes, yes I have.  But I didn’t know how and never to the time to read the WordPress codex to figure it out.  Alex shows you how to do so in his post, Displaying Shortcodes, and it is just so simple I wonder why I didn’t figure it out before!

>