<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Ethos post carousel, auto rotate &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/feed/</link>
		<description></description>
		<lastBuildDate>Sun, 02 Nov 2025 22:54:26 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-149458</guid>
					<title><![CDATA[Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-149458</link>
					<pubDate>Thu, 20 Nov 2014 20:59:13 +0000</pubDate>
					<dc:creator>Ryan B</dc:creator>

					<description>
						<![CDATA[
						<p>Is it possible to have the post carousel on the top of this site <a href="http://mzing.co/westmontplaza/" rel="nofollow">http://mzing.co/westmontplaza/</a> auto rotate, or auto slide to the next group of 4 or 5?</p>
<p>note:  i created another site with this particular licenses but the site is not longer live, so I was able to use this frame for a new client.   </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-149897</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-149897</link>
					<pubDate>Fri, 21 Nov 2014 14:32:45 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Ryan,</p>
<p>Thank you for writing in!</p>
<p>First, please update your theme and bundled plugins to the latest version, if you have <a href="http://theme.co/x/member/kb/product-validation/" rel="nofollow">validated your theme</a> your theme, you can update them directly from the admin panel. Otherwise, please review our KB article on <a href="http://theme.co/x/member/kb/updating-your-theme-and-plugins/" rel="nofollow">Updating Your Theme and Plugins</a>.</p>
<p>After that, because this requires a template change, I&#8217;d advise that you setup a <a href="http://theme.co/x/member/kb/how-to-setup-child-themes/" title="Child Themes" target="_blank" rel="nofollow">child theme</a>. This allows you to make code changes that won&#8217;t be overwritten when an <strong>X</strong> update is released. After your child theme is setup, please review how we recommend making template changes in <a href="http://theme.co/x/member/kb/customization-best-practices/" rel="nofollow">Customization Best Practices</a>.</p>
<p>Next, copy the file <strong>wp-content/themes/x/framework/views/ethos/_post-carousel.php</strong> in your child theme&#8217;s folder <strong>/framework/views/ethos/</strong>, open the file in a text editor and replace entire code with following:</p>
<pre><code>&lt;?php

// =============================================================================
// VIEWS/ETHOS/_POST-CAROUSEL.PHP
// -----------------------------------------------------------------------------
// Outputs the post carousel that appears at the top of the masthead.
// =============================================================================

GLOBAL $post_carousel_entry_id;

$post_carousel_entry_id = get_the_ID();

$is_enabled = x_get_option( &#039;x_ethos_post_carousel_enable&#039;, &#039;&#039; ) == &#039;1&#039;;
$count      = x_get_option( &#039;x_ethos_post_carousel_count&#039; );
$display    = x_get_option( &#039;x_ethos_post_carousel_display&#039; );

switch ( $display ) {
  case &#039;most-commented&#039; :
    $args = array(
      &#039;post_type&#039;      =&gt; &#039;post&#039;,
      &#039;posts_per_page&#039; =&gt; $count,
      &#039;orderby&#039;        =&gt; &#039;comment_count&#039;,
      &#039;order&#039;          =&gt; &#039;DESC&#039;
    );
    break;
  case &#039;random&#039; :
    $args = array(
      &#039;post_type&#039;      =&gt; &#039;post&#039;,
      &#039;posts_per_page&#039; =&gt; $count,
      &#039;orderby&#039;        =&gt; &#039;rand&#039;
    );
    break;
  case &#039;featured&#039; :
    $args = array(
      &#039;post_type&#039;      =&gt; &#039;post&#039;,
      &#039;posts_per_page&#039; =&gt; $count,
      &#039;orderby&#039;        =&gt; &#039;date&#039;,
      &#039;meta_key&#039;       =&gt; &#039;_x_ethos_post_carousel_display&#039;,
      &#039;meta_value&#039;     =&gt; &#039;on&#039;
    );
    break;
}

?&gt;

&lt;?php if ( $is_enabled ) : ?&gt;

  &lt;ul class=&quot;x-post-carousel unstyled&quot;&gt;

    &lt;?php $wp_query = new WP_Query( $args ); ?&gt;

    &lt;?php if ( $wp_query-&gt;have_posts() ) : ?&gt;
      &lt;?php while ( $wp_query-&gt;have_posts() ) : $wp_query-&gt;the_post(); ?&gt;

        &lt;li class=&quot;x-post-carousel-item&quot;&gt;
          &lt;?php x_ethos_entry_cover( &#039;post-carousel&#039; ); ?&gt;
        &lt;/li&gt;

      &lt;?php endwhile; ?&gt;
    &lt;?php endif; ?&gt;

    &lt;?php wp_reset_query(); ?&gt;

    &lt;script&gt;

    jQuery(document).ready(function() {
      jQuery(&#039;.x-post-carousel&#039;).slick({
        infinite       : true,
        speed          : 500,
        slide          : &#039;li&#039;,
        slidesToShow   : &lt;?php echo x_get_option( &#039;x_ethos_post_carousel_display_count_extra_large&#039; ); ?&gt;,
        slidesToScroll : 1,
        autoplay       : true,
        autoplaySpeed  : 2000,
        responsive     : [
          { breakpoint : 1500, settings : { speed : 500, slide : &#039;li&#039;, autoplay : true, autoplaySpeed : 2000, slidesToShow : &lt;?php echo x_get_option( &#039;x_ethos_post_carousel_display_count_large&#039;, &#039;4&#039; ); ?&gt; } },
          { breakpoint : 1200, settings : { speed : 500, slide : &#039;li&#039;, autoplay : true, autoplaySpeed : 2000, slidesToShow : &lt;?php echo x_get_option( &#039;x_ethos_post_carousel_display_count_medium&#039;, &#039;3&#039; ); ?&gt; } },
          { breakpoint : 979,  settings : { speed : 500, slide : &#039;li&#039;, autoplay : true, autoplaySpeed : 2000, slidesToShow : &lt;?php echo x_get_option( &#039;x_ethos_post_carousel_display_count_small&#039;, &#039;2&#039; ); ?&gt; } },
          { breakpoint : 550,  settings : { speed : 500, slide : &#039;li&#039;, autoplay : true, autoplaySpeed : 2000, slidesToShow : &lt;?php echo x_get_option( &#039;x_ethos_post_carousel_display_count_extra_small&#039;, &#039;1&#039; ); ?&gt; } }
        ]
      });
    });

    &lt;/script&gt;

  &lt;/ul&gt;

&lt;?php endif; ?&gt;
</code></pre>
<p>Hope this helps. 🙂</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-745685</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-745685</link>
					<pubDate>Thu, 14 Jan 2016 10:09:22 +0000</pubDate>
					<dc:creator>isearchlocal</dc:creator>

					<description>
						<![CDATA[
						<p>hi, i got directed to this thread on the back of my own question regarding setting the slider to auto play.<br />
The code above worked great! however i wanted to know if its possible to make the slide a bit smoother, it seems to jolt. </p>
<p><a href="http://churchillandpartners2015.com.gridhosted.co.uk/" rel="nofollow">http://churchillandpartners2015.com.gridhosted.co.uk/</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-745800</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-745800</link>
					<pubDate>Thu, 14 Jan 2016 12:24:20 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>To make slide animation smoother, increase every instance of <strong>500</strong> from the code to your desired value in mili-seconds. For example, use 2000 for 2 seconds animation.</p>
<p>Thank you!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-745832</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-745832</link>
					<pubDate>Thu, 14 Jan 2016 12:52:44 +0000</pubDate>
					<dc:creator>isearchlocal</dc:creator>

					<description>
						<![CDATA[
						<p>thank you! will play about with those speeds<br />
is there a way to make it continuous? </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-746158</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-746158</link>
					<pubDate>Thu, 14 Jan 2016 17:36:56 +0000</pubDate>
					<dc:creator>Jade</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Do you mean continuously rotating the slider?</p>
<p>These lines of code in the code suggested above should enable that option:</p>
<pre><code>        autoplay       : true,
        autoplaySpeed  : 2000,</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-747436</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-747436</link>
					<pubDate>Fri, 15 Jan 2016 11:03:27 +0000</pubDate>
					<dc:creator>isearchlocal</dc:creator>

					<description>
						<![CDATA[
						<p>hi, </p>
<p>it does continuaslly play, however it stops then starts then stops then starts. </p>
<p>Is there a way to make it move constantly so no stopping at all?.. </p>
<p>thank you for all your help</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-747608</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-747608</link>
					<pubDate>Fri, 15 Jan 2016 13:50:35 +0000</pubDate>
					<dc:creator>isearchlocal</dc:creator>

					<description>
						<![CDATA[
						<p>also one other request for the carousel slider. </p>
<p>i have used the slider to show services, which looks great, </p>
<p>however i also need to use the posts for blog articles, when these are created i don&#8217;t want them to appear on the slider.<br />
these are the tick box options on the post page, however they are all unticked, but the post is still appearing in the slider? any ideas please?  </p>
<p>Post Carousel Display<br />
Display this post in the Post Carousel if you have &#8220;Featured&#8221; selected in the Customizer.</p>
<p>Post Slider Display – Blog<br />
Display this post in the Blog Post Slider if you have &#8220;Featured&#8221; selected in the Customizer.</p>
<p>Post Slider Display – Archives<br />
Display this post in the Archives Post Slider if you have &#8220;Featured&#8221; selected in the Customizer.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-747652</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-747652</link>
					<pubDate>Fri, 15 Jan 2016 14:24:06 +0000</pubDate>
					<dc:creator>isearchlocal</dc:creator>

					<description>
						<![CDATA[
						<p>sorry i have figured it out! thank you </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-747679</guid>
					<title><![CDATA[Reply To: Ethos post carousel, auto rotate]]></title>
					<link>https://theme.co/archive/forums/topic/ethos-post-carousel-auto-rotate/#post-747679</link>
					<pubDate>Fri, 15 Jan 2016 14:43:23 +0000</pubDate>
					<dc:creator>Darshana</dc:creator>

					<description>
						<![CDATA[
						<p>Glad you were able to figure it out 🙂</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

