{"id":11492,"date":"2014-01-05T04:47:22","date_gmt":"2014-01-05T09:47:22","guid":{"rendered":"http:\/\/info.template-help.com\/?p=11492"},"modified":"2017-08-15T06:41:25","modified_gmt":"2017-08-15T10:41:25","slug":"wordpress-how-to-use-shortcodes","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-use-shortcodes.html","title":{"rendered":"WordPress. How to use shortcodes (based on Cherry 3.x)"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>This tutorial is going to show\u00a0you how to use shortcodes in\u00a0your WordPress template.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=wbCNMJdlPMI?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to use shortcodes<\/a><\/p>\r\n<p class=\"info-box\">A shortcode is a  powerful content building tool <a target=\"_blank\" href=\"http:\/\/codex.wordpress.org\/Shortcode\">http:\/\/codex.wordpress.org\/Shortcode<\/a>. In order to use  the ones that come with your template:<\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<p class=\"attention\">Make sure to download and install <a href=\"https:\/\/github.com\/CherryFramework\/CherryFramework\/blob\/master\/includes\/plugins\/cherry-plugin.zip?raw=true\" target=\"_blank\">Cherry plugin<\/a> to use these shortcodes.<\/p>\r\n<ol>\r\n<li>\r\n<p>Open\u00a0 a post\/page in your WordPress admin panel.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Set  the editing mode to <strong>Visual<\/strong>. Click  the button for the shortcodes. Then select the shortcode you want to insert.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using1-300x159.jpg\" alt=\"wordpress_shortcodes_ using1\" width=\"300\" height=\"159\" class=\"aligncenter size-medium wp-image-32038\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using1-300x159.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using1-150x79.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using1.jpg 1006w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>  All available shortcodes are conditionally divided into these groups:<\/p>\r\n<ul class=\"list\">\r\n<li>\r\n<p><strong>Dynamic<\/strong> &#8211; used for content output (posts, custom post types, tags, etc.);<\/p>\r\n<\/li>\r\n<li>\r\n<p><strong>Grid Columns<\/strong> &#8211; various columns for grid forming;<\/p>\r\n<\/li>\r\n<li>\r\n<p><strong>Elements<\/strong> &#8211; additional elements for content forming;<\/p>\r\n<\/li>\r\n<li>\r\n<p><strong>Other<\/strong> &#8211; additional elements for advanced\/complex content forming.<\/p>\r\n<\/li>\r\n<\/ul>\r\n<p>Let\u2019s take a  closer look at the major ones:<\/p>\r\n<ol>\r\n<li><strong>Post Grid<\/strong> displays standard and custom posts in table view with a configurable number of columns and rows. When selected, it opens up a lightbox with shortcode  options. Each of them comes with a short description, which makes everything  quite self-explanatory. Click the <strong>Insert  Shortcode<\/strong>\u00a0button when you\u2019ve  finished setting the options to your liking. It will generate a shortcode like  this:<\/li>\r\n<pre>\r\n[posts_grid columns=\"3\" rows=\"3\" order_by=\"date\" order=\"DESC\" thumb_width=\"100\" thumb_height=\"100\" meta=\"yes\"\r\n excerpt_count=\"20\" link=\"yes\" link_text=\"more\" custom_class=\"custom_class\"]\r\n<\/pre>\r\n<p>Go ahead and  click <strong>Update<\/strong> to save the shortcode, then click <strong>Preview Changes<\/strong> to see how it looks from the front end of your site.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using2-300x237.jpg\" alt=\"wordpress_shortcodes_ using2\" width=\"300\" height=\"237\" class=\"aligncenter size-medium wp-image-32039\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using2-300x237.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using2-150x118.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using2.jpg 816w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Post List <\/strong>displays standard and custom posts as on the blog page:<\/p>\r\n<\/li>\r\n<pre>\r\n[posts_list numb=\"3\" thumbs=\"large\" thumb_width=\"100\" thumb_height=\"100\" post_content=\"excerpt\" order_by=\"date\"\r\n order=\"DESC\" link=\"yes\" link_text=\"more\" tags=\"yes\" custom_class=\"custom_class\"] \r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using3-171x300.jpg\" alt=\"wordpress_shortcodes_ using3\" width=\"171\" height=\"300\" class=\"aligncenter size-medium wp-image-32040\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using3-171x300.jpg 171w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using3-85x150.jpg 85w\" sizes=\"(max-width: 171px) 100vw, 171px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Mini Post Grid<\/strong> is  a<strong> <\/strong>more compact version of [post_grid] shortcode. It displays the images of  standard and custom posts with a configurable image size:<\/p>\r\n<\/li>\r\n<pre>\r\n[mini_posts_grid numb=\"3\" thumbs=\"small\" thumb_width=\"100\" thumb_height=\"100\" order_by=\"date\" order=\"DESC\" \r\nalign=\"left\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using4-300x70.jpg\" alt=\"wordpress_shortcodes_ using4\" width=\"300\" height=\"70\" class=\"aligncenter size-medium wp-image-32041\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using4-300x70.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using4-150x35.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using4.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Mini Post List <\/strong>is a<strong> <\/strong>more compact version of <strong>[posts_list]<\/strong> shortcode. Displays standard and  custom posts in list view:<\/p>\r\n<\/li>\r\n<pre>\r\n[mini_posts_list numb=\"3\" thumbs=\"small\" thumb_width=\"100\" thumb_height=\"100\" meta=\"yes\" order_by=\"date\" \r\norder=\"DESC\" excerpt_count=\"20\"] \r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using5-300x146.jpg\" alt=\"wordpress_shortcodes_ using5\" width=\"300\" height=\"146\" class=\"aligncenter size-medium wp-image-32042\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using5-300x146.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using5-150x73.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using5-1024x501.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using5.jpg 1085w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Recent Posts <\/strong>displays the recent posts  which can be configured with the following options (post type, posts amount,  post format, excerpt length, button title and others):<\/p>\r\n<\/li>\r\n<pre>\r\n[recent_posts num=\"3\" post_format=\"standard\" meta=\"false\" thumb=\"true\" excerpt_count=\"20\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using6.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using6-300x149.jpg\" alt=\"wordpress_shortcodes_ using6\" width=\"300\" height=\"149\" class=\"aligncenter size-medium wp-image-32043\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using6-300x149.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using6-150x74.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using6-1024x510.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using6.jpg 1084w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Recent Testimonials<\/strong>: displays the specified number of Testimonials custom post type posts, includes the ability to show\/hide posts  images and manage word count:<\/p>\r\n<\/li>\r\n<pre>\r\n[recenttesti num=\"2\" thumb=\"true\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using7.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using7-300x133.jpg\" alt=\"wordpress_shortcodes_ using7\" width=\"300\" height=\"133\" class=\"aligncenter size-medium wp-image-32044\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using7-300x133.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using7-150x66.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using7.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Banner <\/strong>used to display a block with static text and\/or image, title, link, etc:<strong><\/strong><\/p>\r\n<\/li>\r\n<pre>\r\n[banner img=\"#\" banner_link=\"#\" title=\"Title\" text=\"Text\" btn_text=\"Button\" target=\"_self\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using8.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using8-300x212.jpg\" alt=\"wordpress_shortcodes_ using8\" width=\"300\" height=\"212\" class=\"aligncenter size-medium wp-image-32045\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using8-300x212.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using8-150x106.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using8.jpg 987w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Comments <\/strong>displays the latest comments:<\/p>\r\n<\/li>\r\n<pre>\r\n[recent_comments num=\"5\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using9.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using9-300x80.jpg\" alt=\"wordpress_shortcodes_ using9\" width=\"300\" height=\"80\" class=\"aligncenter size-medium wp-image-32046\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using9-300x80.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using9-150x40.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using9.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Post Cycle <\/strong>displays different posts in mini-slider view:<strong><\/strong><\/p>\r\n<\/li>\r\n<pre>\r\n[post_cycle num=\"5\" type=\"portfolio\" meta=\"false\" thumb=\"true\" thumb_width=\"50\" thumb_height=\"50\" effect=\"slide\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using10.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using10-300x98.jpg\" alt=\"wordpress_shortcodes_ using10\" width=\"300\" height=\"98\" class=\"aligncenter size-medium wp-image-32047\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using10-300x98.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using10-150x49.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using10-1024x336.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using10.jpg 1062w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Carousel <\/strong>displays the posts in carousel view, has various  additional options:<\/p>\r\n<\/li>\r\n<pre>\r\n[carousel num=\"5\" type=\"blog\" thumb=\"true\" thumb_width=\"120\" thumb_height=\"50\" date=\"yes\" author=\"yes\"\r\n min_items=\"3\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using11.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using11-300x114.jpg\" alt=\"wordpress_shortcodes_ using11\" width=\"300\" height=\"114\" class=\"aligncenter size-medium wp-image-32048\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using11-300x114.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using11-150x57.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using11.jpg 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Roundabout <\/strong>is a jQuery plugin that converts a structure of  static HTML elements into a highly customizable turntable-like interactive area:<\/p>\r\n<\/li>\r\n<pre>\r\n[roundabout title=\"Title\" num=\"3\" type=\"blog\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using12.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using12-300x115.jpg\" alt=\"wordpress_shortcodes_ using12\" width=\"300\" height=\"115\" class=\"aligncenter size-medium wp-image-32049\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using12-300x115.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using12-150x57.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using12.jpg 980w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Service Box <\/strong>is<strong> <\/strong>used to display information blocks that include title, icon, text, button.  The main feature of this shortcode is the existence of pre-installed icons. To  get the icons to display, you need to upload your custom <strong>icon1.png, icon2.png, icon3.png<\/strong>, etc to the <strong>wp_content\/themes\/your_theme\/images<\/strong> folder on the FTP:<\/p>\r\n<\/li>\r\n<pre>\r\n[service_box title=\"Title\" icon=\"icon1\" text=\"Your text\" btn_text=\"Button\" btn_link=\"#\" btn_size=\"normal\"\r\n target=\"_self\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using13.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using13-300x154.jpg\" alt=\"wordpress_shortcodes_ using13\" width=\"300\" height=\"154\" class=\"aligncenter size-medium wp-image-32050\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using13-300x154.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using13-150x77.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using13.jpg 959w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Hero unit <\/strong>is<strong> <\/strong>used to display major website information, promotions, etc. It is usually located  on the main website page, right after the header:<\/p>\r\n<\/li>\r\n<pre>\r\n[hero_unit title=\"Title\" text=\"Text\" btn_text=\"Button\" btn_link=\"#\" btn_style=\"default\" btn_size=\"normal\"\r\n target=\"_self\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using14.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using14-300x154.jpg\" alt=\"wordpress_shortcodes_ using14\" width=\"300\" height=\"154\" class=\"aligncenter size-medium wp-image-32051\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using14-300x154.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using14-150x77.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using14.jpg 945w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Categories <\/strong>shortcode<strong> <\/strong>is<strong> <\/strong>used to display categories (both from blog posts and custom posts):<\/p>\r\n<\/li>\r\n<pre>\r\n[categories class=\"plus\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using15.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using15-300x78.jpg\" alt=\"wordpress_shortcodes_ using15\" width=\"300\" height=\"78\" class=\"aligncenter size-medium wp-image-32052\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using15-300x78.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using15-150x39.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using15.jpg 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Tags <\/strong>shortcode is used to display the tags:<strong><\/strong><\/p>\r\n<\/li>\r\n<pre>\r\n[tags]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using16.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using16-300x67.jpg\" alt=\"wordpress_shortcodes_ using16\" width=\"300\" height=\"67\" class=\"aligncenter size-medium wp-image-32053\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using16-300x67.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using16-150x33.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using16.jpg 953w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Grid Columns (span1-12) <\/strong>is<strong> <\/strong>used to form structural grid elements, where # is a number from 1 to 12, which defines the element width:<\/p>\r\n<\/li>\r\n<pre>\r\n[span#] [\/span#]\r\n<\/pre>\r\n<p> Note, while forming a grid you should &quot;wrap&quot; grid elements into the <strong>[row]<\/strong> shortcode:<\/p>\r\n<pre>\r\n[row] [span6] Your Content... [\/span6] [span6] t... [\/span6] [\/row]\r\n<\/pre>\r\n<p>Under the <strong>Page Attributes<\/strong> panel on the right, <strong>Fullwidth Page<\/strong> should be selected for <strong>Template<\/strong>.<\/p>\r\n<li>\r\n<p><strong>Fluid Columns (one_half,  one_third&#8230;) <\/strong>is<strong> <\/strong>used to form structural grid elements, their width is delineated  with %:<\/p>\r\n<\/li>\r\n<pre>\r\n[one_half] [\/one_half] \r\n<\/pre>\r\n<p>Note, while forming a fluid grid you should &quot;wrap&quot; grid elements  into <strong>[row_fluid] <\/strong>shortcode:<\/p>\r\n<pre>\r\n[row_fluid] [five_sixth] Your content... [\/five_sixth] [one_sixth... [\/one_sixth] [\/row_fluid]\r\n<\/pre>\r\n<li>\r\n<p><strong>Multiple Columns (75% \/ 25%, etc.)<\/strong> shortcodes are used to simplify content forming by inserting the most used  grid variants:<\/p>\r\n<\/li>\r\n<pre>\r\n[row]\r\n[span8] t... [\/span8] [span4] Your content... [\/span4]\r\n[\/row]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using17.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using17-300x139.jpg\" alt=\"wordpress_shortcodes_ using17\" width=\"300\" height=\"139\" class=\"aligncenter size-medium wp-image-32054\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using17-300x139.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using17-150x69.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using17.jpg 967w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Label <\/strong>is<strong> <\/strong>used to  display a label with pre-defined styling:<strong><\/strong><\/p>\r\n<\/li>\r\n<pre>\r\n[label style=\"default\"]label[\/label]\r\n<\/pre>\r\n<li>\r\n<p><strong>Highlight <\/strong>is<strong> <\/strong>used to  highlight a chosen text fragment:<strong><\/strong><\/p>\r\n<\/li>\r\n<pre>\r\n[highlight]Text[\/highlight]\r\n<\/pre>\r\n<li>\r\n<p><strong>Button <\/strong>is<strong> <\/strong>used to insert  a button with various display settings (style, size, icon, etc.):<\/p>\r\n<\/li>\r\n<pre>\r\n[button text=\"Text\" link=\"#\" style=\"default\" size=\"normal\" target=\"_self\" display=\"inline\" icon=\"no\"] \r\n<\/pre>\r\n<li>\r\n<p><strong>Dropcap <\/strong>is<strong> <\/strong>used to display  a dropped capital letter:<\/p>\r\n<\/li>\r\n<pre>\r\n[dropcap]L[\/dropcap] \r\n<\/pre>\r\n<li>\r\n<p><strong>Blockquote <\/strong>is<strong> <\/strong>used to  display a quotation:<strong><\/strong><\/p>\r\n<\/li>\r\n<pre>\r\n[blockquote] Text... [\/blockquote]\r\n<\/pre>\r\n<li>\r\n<p>The <strong>Lists \u00a0<\/strong>shortcodes set <strong>(unstyled,  check, check2, arrow, arrow2, star, plus, minus) <\/strong>is<strong> <\/strong>used to display various lists stylizations. Each  shortcode implements its own marker for the list items:<strong><\/strong><\/p>\r\n<\/li>\r\n<pre>\r\n[check_list] List here ... [\/check_list] \r\n<\/pre>\r\n<li>\r\n<p><strong>Video Preview <\/strong>is<strong> <\/strong>used to insert a video preview, which can be loaded from the off-site  services (youtube, vimeo) or from your website (self hosted):<\/p>\r\n<\/li>\r\n<pre>\r\n[video_preview post_url=\"http:\/\/demolink.org\/blog\/video-post-type\/\" title=\"yes\" date=\"yes\" author=\"yes\"]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using18.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using18-300x272.jpg\" alt=\"wordpress_shortcodes_ using18\" width=\"300\" height=\"272\" class=\"aligncenter size-medium wp-image-32055\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using18-300x272.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using18-150x136.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using18.jpg 479w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p>The <strong>Alert Boxes (message, info, success, danger) <\/strong>shortcodes  set is used to display service messages:<\/p>\r\n<\/li>\r\n<pre>\r\n[alert_box style=\"message\" close=\"yes\"]Hello, World![\/alert_box]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using19.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using19-300x64.jpg\" alt=\"wordpress_shortcodes_ using19\" width=\"300\" height=\"64\" class=\"aligncenter size-medium wp-image-32056\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using19-300x64.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using19-150x32.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using19.jpg 956w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Tabs shortcode <\/strong>is<strong> <\/strong>used to  display content arranged into tabs. Tabs may contain static and dynamic content:<strong><\/strong><\/p>\r\n<\/li>\r\n<pre>\r\n[tabs tab1=\"Title #1\" tab2=\"Title #2\" tab3=\"Title #3\"] \r\n   [tab1] Tab 1 content... [\/tab1] \r\n   [tab2] Tab 2 content... [\/tab2] \r\n   [tab3] Tab 3 content... [\/tab3]\r\n[\/tabs]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using20.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using20-300x77.jpg\" alt=\"wordpress_shortcodes_ using20\" width=\"300\" height=\"77\" class=\"aligncenter size-medium wp-image-32057\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using20-300x77.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using20-150x38.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using20.jpg 967w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Accordion <\/strong>is<strong> <\/strong>used to  display an accordion &#8211; fold up panels with titles:<strong><\/strong><\/p>\r\n<\/li>\r\n<\/ul>\r\n<pre>\r\n[accordions] \r\n    [accordion title=\"title1\" visible=\"yes\"] tab content [\/accordion] \r\n    [accordion title=\"title2\"] another content tab [\/accordion] \r\n[\/accordions]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using21.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using21-300x89.jpg\" alt=\"wordpress_shortcodes_ using21\" width=\"300\" height=\"89\" class=\"aligncenter size-medium wp-image-32058\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using21-300x89.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using21-150x44.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using21.jpg 954w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Table <\/strong>is<strong> <\/strong>used to  display a table:<strong><\/strong><\/p>\r\n<\/li>\r\n<\/ul>\r\n<pre>\r\n[table td1=\"#\" td2=\"Title\" td3=\"Value\"] [td1] 1 [\/td1] [td2] some title 1 [\/td2] [td3] some value 1 [\/td3] [\/table]\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using22.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using22-300x73.jpg\" alt=\"wordpress_shortcodes_ using22\" width=\"300\" height=\"73\" class=\"aligncenter size-medium wp-image-32059\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using22-300x73.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using22-150x36.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/01\/wordpress_shortcodes_-using22.jpg 961w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<li>\r\n<p><strong>Google Map <\/strong>is<strong> <\/strong>used to display Google maps. To make the shortcode work, you need to insert  the desired location link from <a rel=\"nofollow\" href=\"https:\/\/maps.google.com\/\">https:\/\/maps.google.com<\/a>:<\/p>\r\n<\/li>\r\n<pre>\r\n[map src=\"#\" width=\"300\" height=\"200\"]\r\n<\/pre>\r\n<li>\r\n<p>For the shortcodes not mentioned in this tutorial,  please see the documentation that comes with your particular template. The  number of shortcodes may vary depending on the template. <\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=wbCNMJdlPMI?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to use shortcodes<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show you how to use shortcodes in your WordPress template.<\/p>\n","protected":false},"author":30,"featured_media":11500,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1419,1089,768,1327,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/11492"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=11492"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/11492\/revisions"}],"predecessor-version":[{"id":82684,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/11492\/revisions\/82684"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/11500"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=11492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=11492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=11492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}