How to use Shortcodes

There are quite a few shortcodes available in KingSize WordPress.

Most of which can be seen on this demo “Shortcodes” page.

Shortcodes are designed to make adding certain options and features a little less difficult and time consuming sifting through code. A great explanation of what a shortcode is:

“WordPress shortcodes were introduced in version 2.5 and since then have proved to be one of the most useful features. The average user acting as editor has the ability to publish dynamic content using macros, without the need for programming skills.

When a shortcode is inserted in a WordPress post or page, it is replaced with some other content. In other words, we instruct WordPress to find the macro that is in square brackets ([]) and replace it with the appropriate dynamic content, which is produced by a PHP function.”

WordPress Shortcodes: A Complete Guide by Smashing Magazine

When using the shortcodes provided with the KingSize WordPress template, you locate the “Unicorn Icon” within your Rich Text Editor while creating/editing pages and posts. Just click the icon and this will open a new window/box that you can select from a drop down which of the shortcodes you’re wanting to use. Additionally, using the demo page linked above (and also in our navigation) you can copy the source code.

6 thoughts on “How to use Shortcodes

  1. OurWebMedia Post author

    Here’s an example of a comment being made. Due to massive amounts of spam submitted to our comments, they’re disabled, but you can see from these examples how they will look and appear in your websites.

    Reply
  2. OurWebMedia Post author

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

    Reply
    1. OurWebMedia Post author

      Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus….

      Reply
  3. OurWebMedia Post author

    Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh.

    Reply

Leave a Reply