{"id":177,"date":"2022-04-11T23:34:37","date_gmt":"2022-04-11T23:34:37","guid":{"rendered":"http:\/\/localhost\/wordpress_odindocs\/?p=177"},"modified":"2022-04-21T17:00:57","modified_gmt":"2022-04-21T17:00:57","slug":"wordpress-shortcodes","status":"publish","type":"post","link":"https:\/\/odindesignthemes.com\/struninndocs\/wordpress-shortcodes\/","title":{"rendered":"WordPress Shortcodes"},"content":{"rendered":"\n<p>The plugin provides shortcodes for the following widgets:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><a href=\"#channel-subscribe-button\">Channel Subscribe Button<\/a><\/strong><\/li><li><strong><a href=\"#channel-schedule\">Channel Schedule<\/a><\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"channel-subscribe-button\"><strong>Channel Subscribe Button<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Syntax<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;struninntwitch_channel_subscribe_button]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Parameters<\/h3>\n\n\n\n<p><strong>additional_wrapper_classes<\/strong><br><em>(string) (Optional)<\/em> Additional classes for the wrapper (comma separated).<\/p>\n\n\n\n<p><strong>text<\/strong><br>(string) (Optional) Button text.<br><em>Default value: &#8216;Subscribe!&#8217;<\/em><\/p>\n\n\n\n<p><em><strong>before_text<\/strong><br>(string) (Optional) <\/em>Content to insert before button text<em>.<\/em><\/p>\n\n\n\n<p><em><strong>after_text<\/strong><br>(string) (Optional) <\/em>Content to insert after button text.<\/p>\n\n\n\n<p><em><strong>href<\/strong><br>(string) (Optional) <\/em>Button link URL.<\/p>\n\n\n\n<p><em><strong>target<\/strong><br>(string) (Optional) <\/em>Button target.<br><em>Default value: &#8216;_blank&#8217;<\/em><\/p>\n\n\n\n<p><em><strong>styles<\/strong><br>(string) (Optional) <\/em>Additional inline styles for the wrapper.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;struninntwitch_channel_subscribe_button text=\"Subscribe to my channel!\" additional_wrapper_classes=\"custom-class-1,custom-class-2\"]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"channel-schedule\"><strong>Channel Schedule<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Syntax<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;struninntwitch_channel_schedule]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Parameters<\/h3>\n\n\n\n<p><strong>additional_wrapper_classes<\/strong><br><em>(string) (Optional)<\/em> Additional classes for the wrapper (comma separated).<\/p>\n\n\n\n<p><strong>template<\/strong><br>(string) (Optional) Schedule template to return, one of: &#8216;table&#8217;, &#8216;grid&#8217;, &#8216;album&#8217;.<br><em>Default value: &#8216;table&#8217;<\/em><\/p>\n\n\n\n<p><em><strong>hide_more_button<\/strong><br>(bool) (Optional) <\/em>True to hide more button<em>.<br>Default value: false<\/em><\/p>\n\n\n\n<p><em><strong>styles<\/strong><br>(string) (Optional) <\/em>Additional inline styles for the wrapper.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;struninntwitch_channel_schedule template=\"grid\" hide_more_button=\"true\"]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The plugin provides shortcodes for the following widgets: Channel Subscribe Button Channel Schedule Channel Subscribe Button Syntax Parameters additional_wrapper_classes(string) (Optional) Additional classes for the wrapper (comma separated). text(string) (Optional) Button text.Default value: &#8216;Subscribe!&#8217; before_text(string) (Optional) Content to insert before button text. after_text(string) (Optional) Content to insert after button text. href(string) (Optional) Button link URL. target(string) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2],"tags":[],"class_list":["post-177","post","type-post","status-publish","format-standard","hentry","category-schedule-plugin","category-struninn-for-twitch"],"_links":{"self":[{"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/posts\/177"}],"collection":[{"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":2,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"predecessor-version":[{"id":373,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/posts\/177\/revisions\/373"}],"wp:attachment":[{"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}