The Typical Theme

A Resolution Independent Wordpress Theme with Microdata Support

Semantic Shortcodes

Typical supports two shortcodes 1 to make semantic content management easier. Using these shortcodes, content editors have an easier way to add <figure> and <blockquote> snippets to their content. All you have to do is supply the necessary content via the supported attributes and the structured markup is taken care of. Please refer to the below examples.

Blockquote shortcode

[blockquote quotation="Shortcodes are great!" author="Heydon Pickering" author_url=""]

// Output:

   <p>Shortcodes are great!</p>
      <a href="">Heydon Pickering</a>

Figure shortcode (with caption)

[image_figure image_url="" alt="Portrait of The Theme Author" caption="The Theme Author, Heydon Pickering"]

// Output:

   <img src="" alt="Portrait of The Theme Author">
   <figcaption>The Theme Author, Heydon Pickering</figcaption>


  1. Wordpress’ shortcodes API:

The author,

Heydon is the creator of Typical. He is a Web Designer, Developer and Typographer. His icon fonts are available from Font Squirrel and you may wish to use his AngularJS-built lorem ipsum tool, Paragrabbr. Heydon is passionate about semantic HTML and web typography. He has written about User Experience Design and coding for Smashing Magazine.

Leave a Reply

Your email address will not be published. Required fields are marked *



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>