{"id":556,"date":"2022-05-26T19:17:55","date_gmt":"2022-05-26T19:17:55","guid":{"rendered":"http:\/\/localhost\/wordpress_odindocs\/?p=544"},"modified":"2022-05-26T19:17:55","modified_gmt":"2022-05-26T19:17:55","slug":"wordpress-shortcodes-4","status":"publish","type":"post","link":"https:\/\/odindesignthemes.com\/struninndocs\/wordpress-shortcodes-4\/","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-video-list\">Channel Video List<\/a><\/strong><\/li><li><strong><a href=\"#channel-playlist-list\">Channel Playlist List<\/a><\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"channel-video-list\"><strong>Channel Video List<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Syntax<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;struninnyoutube_channel_video_list]<\/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><em>(string) (Optional) <\/em>Channel video list template, one of: &#8216;grid&#8217;, &#8216;slider&#8217;.<br><em>Default value: &#8216;grid&#8217;<\/em><\/p>\n\n\n\n<p><strong>playlist_id<\/strong><em><br>(string | bool) (Optional) <\/em>ID of the playlist to retrieve videos from, or false to return videos from the channel.<em><br>Default value: false<\/em><\/p>\n\n\n\n<p><strong>display_thumbnail<\/strong><em><br>(bool) (Optional) <\/em>True to display video thumbnail, false to display iframe.<br><em>Default value: false<\/em><\/p>\n\n\n\n<p><strong>order<\/strong><em><br>(string) (Optional) <\/em>Order in which the videos are returned, one of: &#8216;date&#8217;, &#8216;rating&#8217;, &#8216;viewCount&#8217;.<br><em>Default value: &#8216;date&#8217;<\/em><\/p>\n\n\n\n<p><strong>max_results<\/strong><em><br>(int) (Optional) <\/em>Amount of videos to retrieve (0 &#8211; 50).<em><br>Default value: 5<\/em><\/p>\n\n\n\n<p><strong>rtl<\/strong><em><br>(bool) (Optional) <\/em>True if using right to left text.<em><br>Default value: false<\/em><\/p>\n\n\n\n<p><strong>styles<\/strong><em><br>(string) (Optional) <\/em>Additional inline styles for the wrapper.<\/p>\n\n\n\n<p><strong>slides_per_view<\/strong><em><br>(string | int) (Optional) <\/em>Number of slides per view, or &#8216;auto&#8217; (&#8216;slider&#8217; template only).<em><br>Default value: &#8216;auto&#8217;<\/em><\/p>\n\n\n\n<p><strong>space_between<\/strong><em><br>(int) (Optional) <\/em>Space between slides (&#8216;slider&#8217; template only).<em><br>Default value: 20<\/em><\/p>\n\n\n\n<p><strong>centered_slides<\/strong><em><br>(bool) (Optional) <\/em>True to center slides (&#8216;slider&#8217; template only).<em><br>Default value: false<\/em><\/p>\n\n\n\n<p><strong>loop<\/strong><em><br>(bool) (Optional) <\/em>True to loop slides (&#8216;slider&#8217; template only).<em><br>Default value: false<\/em><\/p>\n\n\n\n<p><strong>autoplay<\/strong><em><br>(bool) (Optional) <\/em>True to autoplay slides (&#8216;slider&#8217; template only).<em><br>Default value: false<\/em><\/p>\n\n\n\n<p><strong>autoplay_delay<\/strong><em><br>(int) (Optional) <\/em>Delay between autoplay of slides in milliseconds (&#8216;slider&#8217; template only).<em><br>Default value: 3000<\/em><\/p>\n\n\n\n<p><strong>controls<\/strong><em><br>(bool) (Optional) <\/em>True to display slider controls (&#8216;slider&#8217; template only).<em><br>Default value: true<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;struninnyoutube_channel_video_list template=\"slider\" additional_wrapper_classes=\"custom-class-1,custom-class-2\"]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"channel-playlist-list\"><strong>Channel Playlist List<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Syntax<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;struninnyoutube_channel_playlist_list]<\/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>max_results<\/strong><em><br>(int) (Optional) <\/em>Amount of playlists to retrieve (0 &#8211; 50).<em><br>Default value: 5<\/em><\/p>\n\n\n\n<p><strong>rtl<\/strong><em><br>(bool) (Optional) <\/em>True if using right to left text.<em><br>Default value: false<\/em><\/p>\n\n\n\n<p><strong>styles<\/strong><em><br>(string) (Optional) <\/em>Additional inline styles for the wrapper.<\/p>\n\n\n\n<p><strong>slides_per_view<\/strong><em><br>(string | int) (Optional) <\/em>Number of slides per view, or &#8216;auto&#8217; (&#8216;slider&#8217; template only).<em><br>Default value: &#8216;auto&#8217;<\/em><\/p>\n\n\n\n<p><strong>space_between<\/strong><em><br>(int) (Optional) <\/em>Space between slides (&#8216;slider&#8217; template only).<em><br>Default value: 0<\/em><\/p>\n\n\n\n<p><strong>centered_slides<\/strong><em><br>(bool) (Optional) <\/em>True to center slides (&#8216;slider&#8217; template only).<em><br>Default value: true<\/em><\/p>\n\n\n\n<p><strong>loop<\/strong><em><br>(bool) (Optional) <\/em>True to loop slides (&#8216;slider&#8217; template only).<em><br>Default value: true<\/em><\/p>\n\n\n\n<p><strong>autoplay<\/strong><em><br>(bool) (Optional) <\/em>True to autoplay slides (&#8216;slider&#8217; template only).<em><br>Default value: false<\/em><\/p>\n\n\n\n<p><strong>autoplay_delay<\/strong><em><br>(int) (Optional) <\/em>Delay between autoplay of slides in milliseconds (&#8216;slider&#8217; template only).<em><br>Default value: 3000<\/em><\/p>\n\n\n\n<p><strong>controls<\/strong><em><br>(bool) (Optional) <\/em>True to display slider controls (&#8216;slider&#8217; template only).<em><br>Default value: true<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;struninnyoutube_channel_playlist_list controls=\"false\" additional_wrapper_classes=\"custom-class-1,custom-class-2\"]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The plugin provides shortcodes for the following widgets: Channel Video List Channel Playlist List Channel Video List Syntax Parameters additional_wrapper_classes(string) (Optional) Additional classes for the wrapper (comma separated). template(string) (Optional) Channel video list template, one of: &#8216;grid&#8217;, &#8216;slider&#8217;.Default value: &#8216;grid&#8217; playlist_id(string | bool) (Optional) ID of the playlist to retrieve videos from, or false to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,9],"tags":[],"class_list":["post-556","post","type-post","status-publish","format-standard","hentry","category-feed-and-playlist-slider-plugin","category-struninn-for-youtube"],"_links":{"self":[{"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/posts\/556"}],"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=556"}],"version-history":[{"count":0,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/posts\/556\/revisions"}],"wp:attachment":[{"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/media?parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/categories?post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/odindesignthemes.com\/struninndocs\/wp-json\/wp\/v2\/tags?post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}