{"id":51272,"date":"2015-08-03T05:05:04","date_gmt":"2015-08-03T09:05:04","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=51272"},"modified":"2016-02-22T08:25:50","modified_gmt":"2016-02-22T13:25:50","slug":"wordpress-how-to-add-a-shortcode-to-a-text-widget","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-add-a-shortcode-to-a-text-widget.html","title":{"rendered":"WordPress. How to add a shortcode to a text widget"},"content":{"rendered":"<p>\r\n<p> This tutorial will show you how to add a <a target=\"_blank\" href=\"\/help\/wordpress-how-to-use-shortcodes.html\">shortcode <\/a>  to your <a target=\"_blank\" href=\"\/help\/wordpress-cherry-widgets-overview.html\">widget<\/a> in CherryFramework based templates. <\/p>\r\n<p>\t<a href=\"http:\/\/www.youtube.com\/watch?v=S9VIRqh16Bk?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to add a shortcode to a text widget<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>The widgets are usually displayed in your <strong>Blog<\/strong> page <strong>Sidebar<\/strong>:<\/p>\r\n<p>\t\t<a href=\"\/help\/wp-content\/uploads\/2015\/08\/1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/1-300x169.jpg\" alt=\"1)\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-51273\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/1-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/1-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t\t<\/li>\r\n<li>\r\n<p>Let&#8217;s add a <strong>Carousel<\/strong> with a shortcode in it. <\/p>\r\n<\/li>\r\n<li>\r\n<p>Please open a new page or post, select visual tab and create a shortcode using the jigsaw puzzle in your <strong>CherryFramework<\/strong> based template:<\/p>\r\n<p>\t\t\t<a href=\"\/help\/wp-content\/uploads\/2015\/08\/2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/2-300x169.jpg\" alt=\"2\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-51274\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/2-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Create a <strong>carousel<\/strong> filling all the fields needed with data you wish to have in your widget:<\/p>\r\n<p>\t\t\t<a href=\"\/help\/wp-content\/uploads\/2015\/08\/3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/3-300x169.jpg\" alt=\"3\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-51275\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/3-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Copy the shortcode you created from the page and navigate to the <strong>Appearance -> Widgets<\/strong> section of your site:<\/p>\r\n<p>\t\t\t<a href=\"\/help\/wp-content\/uploads\/2015\/08\/4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/4-300x169.jpg\" alt=\"4\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-51276\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/4-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/4-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/4.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Drag-and-drop <strong>Text<\/strong> widget to your <strong>Sidebar<\/strong> area or any other widget area needed: <\/p>\r\n<p>\t\t\t<a href=\"\/help\/wp-content\/uploads\/2015\/08\/5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/5-300x169.jpg\" alt=\"5\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-51277\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/5-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/5-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/5.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Paste the shortcode in the widget and after that save the changes:<\/p>\r\n<p>\t\t\t<a href=\"\/help\/wp-content\/uploads\/2015\/08\/6.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/6-300x169.jpg\" alt=\"6\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-51278\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/6-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/6-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/6.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Refresh and check the <strong>Blog<\/strong> page now: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/08\/7.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/7-300x169.jpg\" alt=\"7\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-51279\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/7-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/7-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/7.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\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=S9VIRqh16Bk?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to add a shortcode to a text widget<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to add a shortcode to your widget in CherryFramework based templates.<\/p>\n","protected":false},"author":81,"featured_media":51282,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1415,2021,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/51272"}],"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\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=51272"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/51272\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/51282"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=51272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=51272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=51272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}