{"id":393,"date":"2022-04-21T16:54:07","date_gmt":"2022-04-21T16:54:07","guid":{"rendered":"http:\/\/localhost\/wordpress_odindocs\/?p=393"},"modified":"2022-04-21T16:54:07","modified_gmt":"2022-04-21T16:54:07","slug":"wordpress-shortcodes-2","status":"publish","type":"post","link":"https:\/\/odindesignthemes.com\/struninndocs\/wordpress-shortcodes-2\/","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-videos\">Channel Videos<\/a><\/strong><\/li><li><strong><a href=\"#channel-stream\">Channel Stream<\/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: &#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-videos\"><strong>Channel Videos<\/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_videos]<\/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>first<\/strong><br><em>(int) (Optional)\u00a0<\/em>Amount of videos to display.<br><em>Default value: 1<\/em><\/p>\n\n\n\n<p><strong>type<\/strong><br><em>(string) (Optional)<\/em>\u00a0Type of videos to display, one of: \u2018all\u2019, \u2018upload\u2019, \u2018archive\u2019, \u2018highlight\u2019.<br><em>Default value: \u2018archive\u2019<\/em><\/p>\n\n\n\n<p><em><strong>hide_more_button<\/strong><br>(bool) (Optional)\u00a0<\/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)\u00a0<\/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_videos first=\"4\" type=\"upload\" hide_more_button=\"true\"]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"channel-stream\"><strong>Channel Stream<\/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_stream]<\/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><em><strong>theme<\/strong><br>(string) (Optional)\u00a0<\/em>Stream player theme, one of: \u2018dark\u2019, \u2018light\u2019.<br><em>Default value: \u2018dark\u2019<\/em><\/p>\n\n\n\n<p><em><strong>muted<\/strong><br>(bool) (Optional)\u00a0<\/em>True to mute the stream<em>.<br>Default value: true<\/em><\/p>\n\n\n\n<p><em><strong>autoplay<\/strong><br>(bool) (Optional)\u00a0<\/em>True to autoplay the stream<em>.<br>Default value: true<\/em><\/p>\n\n\n\n<p><em><strong>chat<\/strong><br>(bool) (Optional)\u00a0<\/em>True to display stream chat<em>.<br>Default value: true<\/em><\/p>\n\n\n\n<p><em><strong>styles<\/strong><br>(string) (Optional)\u00a0<\/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_stream autoplay=\"false\" chat=\"false\"]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The plugin provides shortcodes for the following widgets: Channel Subscribe Button Channel Videos Channel Stream 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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,2],"tags":[],"class_list":["post-393","post","type-post","status-publish","format-standard","hentry","category-stream-plugin","category-struninn-for-twitch"],"_links":{"self":[{"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/posts\/393"}],"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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/comments?post=393"}],"version-history":[{"count":0,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/posts\/393\/revisions"}],"wp:attachment":[{"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/media?parent=393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/categories?post=393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/tags?post=393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}