{"id":8638,"date":"2018-01-06T11:41:56","date_gmt":"2018-01-06T11:41:56","guid":{"rendered":"http:\/\/rifetheme.com\/help\/docs\/content-management\/shortcodes\/slider\/"},"modified":"2018-11-19T10:31:28","modified_gmt":"2018-11-19T10:31:28","slug":"slider","status":"publish","type":"docs","link":"https:\/\/rifetheme.com\/apollo13-framework\/docs\/content-management\/shortcodes\/slider\/","title":{"rendered":"Slider"},"content":{"rendered":"<h2>Available as Elementor widget!<\/h2>\n<p>Since <strong>version 2.1.0<\/strong> it is available as <a href=\"https:\/\/rifetheme.com\/apollo13-framework\/docs\/content-management\/elementor-widgets\/\">Elementor widget<\/a>.<\/p>\n<h2>What is it for<\/h2>\n<p>Slider shortcode can be used to display photos &amp; videos in our theme slider that is mostly known from usage in our albums. With this shortcode, you can display it on any page or post that you like.<\/p>\n<p>You can check <a href=\"http:\/\/rifetheme.com\/fully\/\">example use here<\/a>.<\/p>\n<h2>What is needed for it<\/h2>\n<p>To use it you need to create album or work and <a href=\"http:\/\/rifetheme.com\/help\/docs\/content-management\/albums-works-post-types\/album-media\/\">add media to it<\/a>. When you have such album\/work prepared then you can use the shortcode to display it where you want.<\/p>\n<p>Slider done with shortcode will inherit most settings from his &#8220;parent&#8221; album. Other can be overwritten by shortcode parameters.<\/p>\n<h2>Shortcode and its parameters<\/h2>\n<p>First let&#8217;s see some examples:<\/p>\n<pre><code>&#091;a13fe-slider id=\"8792\" autoplay=\"0\" texts=\"0\" socials=\"1\" ratio=\"4\/1\"]\r\n&#091;a13fe-slider id=\"5985\" autoplay=\"0\" window_high=\"1\" thumbs=\"0\"]<\/code><\/pre>\n<p>So shortcode is named <code>a13fe-slider<\/code> and it has following parameters that you can use:<\/p>\n<ul>\n<li><strong>id<\/strong> &#8211; (required) album\/work ID that you want to use media from\n<p><figure id=\"attachment_8919\" class=\"thumbnail wp-caption alignnone\" style=\"width: 853px\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8919\" src=\"https:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/albumId.jpg\" alt=\"Where to find ID of post\" width=\"843\" height=\"396\" \/><figcaption class=\"caption wp-caption-text\">Where to find the ID of the post<\/figcaption><\/figure><\/li>\n<li><strong>autoplay<\/strong> &#8211; (default <em>to value from parent album\/work<\/em>) should slider autoplay on load. <em>1<\/em> for yes, <em>0<\/em> for no.<\/li>\n<li><strong>texts<\/strong> &#8211; (default <em>to value from parent album\/work<\/em>) should images titles &amp; descriptions be displayed  <em>1<\/em> for yes, <em>0<\/em> for no.<\/li>\n<li><strong>thumbs<\/strong> &#8211; (default <em>to value from parent album\/work<\/em>) should thumbs of slider be used. <em>1<\/em> for yes, <em>0<\/em> for no.<\/li>\n<li><strong>socials<\/strong> &#8211; (default <em>0<\/em>) should sharing icons be displayed. <em>1<\/em> for yes, <em>0<\/em> for no.<\/li>\n<li><strong>window_high<\/strong> &#8211; (default <em>0<\/em>) should slider be displayed in full height mode. <em>1<\/em> for yes, <em>0<\/em> for no.<\/li>\n<li><strong>ratio<\/strong> &#8211; (default <em>16\/9<\/em>) &#8211; if the slider is not used in window height mode, then in what proportion of width to height should it be displayed<strong>.<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8470,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_tag":[],"class_list":["post-8638","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/docs\/8638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/comments?post=8638"}],"version-history":[{"count":4,"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/docs\/8638\/revisions"}],"predecessor-version":[{"id":9135,"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/docs\/8638\/revisions\/9135"}],"up":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/docs\/8470"}],"next":[{"title":"Scroller","link":"https:\/\/rifetheme.com\/apollo13-framework\/docs\/content-management\/shortcodes\/scroller\/","href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/docs\/8639"}],"prev":[{"title":"Post list","link":"https:\/\/rifetheme.com\/apollo13-framework\/docs\/content-management\/shortcodes\/post-list\/","href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/docs\/8637"}],"wp:attachment":[{"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/media?parent=8638"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/rifetheme.com\/apollo13-framework\/wp-json\/wp\/v2\/doc_tag?post=8638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}