A Shortcode is a WordPress-specific code that is used in post/page content or the section widget to execute a piece of dynamic code.

For example, assume the shortcode [year] will display the current year. How can this be useful? Well, if you ever write, "In 2010 things will be different" and want 2010 to automatically correspond to the current year, you can just write "In [year] things will be differrent" and the year will automatically correspond to the current year.

In other words, a shortcode is a WordPress-specific code that lets you do nifty things with very little effort.

PLEASE NOTE: Shortcode attributes, for example, an attribute would be the title in the accrodion shortcode [accordion title="Accordion Title"], should not contain any html tags, for example: strong tags, header tags, page breaks. The effect could cause issues with the websites layout or functionality.


3 responses to “Shortcodes”

  1. veronica restelli

    Most of the links take you to the general page. please update


    1. S

      This seems to still be the case. Please review this.

  2. Nancy Lipsky

    Still not working.

Leave a Reply

You must be logged in to post a comment.