<?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>make counter feature count backwards &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/feed/</link>
		<description></description>
		<lastBuildDate>Sun, 12 Oct 2025 00:33:47 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-138129</guid>
					<title><![CDATA[make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-138129</link>
					<pubDate>Tue, 04 Nov 2014 11:48:24 +0000</pubDate>
					<dc:creator>Carpaintcustoms</dc:creator>

					<description>
						<![CDATA[
						<p>hi.  Can you tell me how to make the numbers count down instead of up?   this is the up way&#8230;.. [counter num_start=&#8221;1&#8243; num_end=&#8221;10&#8243; num_color=&#8221;#000000&#8243; num_speed=&#8221;10000&#8243; </p>
<p>I tried typing in the numbers starting high and then going to a lower number already but it didn&#8217;t work</p>
<p>thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-138205</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-138205</link>
					<pubDate>Tue, 04 Nov 2014 13:38:16 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>You can add a unique class to your counter for example <strong>countdown-counter</strong></p>
<p><a href="http://screencast.com/t/vRAzaBLNAmUO" rel="nofollow">http://screencast.com/t/vRAzaBLNAmUO</a></p>
<p>You can then add this under <strong>Custom &gt; Javascripts</strong> in the <strong>Customizer</strong>.</p>
<pre><code>
jQuery(function($) {

var numEnd   = $(&#039;.countdown-counter&#039;).data(&#039;num-end&#039;);
var numSpeed = $(&#039;.countdown-counter&#039;).data(&#039;num-speed&#039;);

$(&#039;.countdown-counter&#039;)
  .prop(&#039;number&#039;, numEnd   )
  .animateNumber(
    {
      number: 0,
      numberStep: function(now, tween) {
        var target = $(tween.elem),
            rounded_now = Math.round(now);

        target.text(now === tween.end ? &#039;0&#039; : rounded_now);
      }
    },
    numSpeed,
    &#039;linear&#039;
  );

});
</code></pre>
<p>Where <strong>numEnd </strong> will be the starting point.</p>
<p>Hope that helps  </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-138748</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-138748</link>
					<pubDate>Wed, 05 Nov 2014 09:23:37 +0000</pubDate>
					<dc:creator>Carpaintcustoms</dc:creator>

					<description>
						<![CDATA[
						<p>hmmm so I pasted that script in the custom JavaScript section.  What do I do now?  I see no changes.   thanks  </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-138878</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-138878</link>
					<pubDate>Wed, 05 Nov 2014 13:59:22 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>As mentioned above, after adding the script under JavaScript section, you need to add a class of <strong>countdown-counter</strong> to your [counter] shortcode (see: <a href="http://prntscr.com/539hib" rel="nofollow">http://prntscr.com/539hib</a>) and you need to add starting number in <strong>Ending Number</strong> field and ending number in <strong>Starting Number</strong> field (see: <a href="http://prntscr.com/539htd" rel="nofollow">http://prntscr.com/539htd</a>). And the shortcode will be something similar to:</p>
<p><code>[counter num_start="10" num_end="1" num_color="#000000" num_speed="10000" class="countdown-counter"]</code></p>
<p>Cheers!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-139510</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-139510</link>
					<pubDate>Thu, 06 Nov 2014 11:36:55 +0000</pubDate>
					<dc:creator>Carpaintcustoms</dc:creator>

					<description>
						<![CDATA[
						<p>right but where is this counter section located (<a href="http://prntscr.com/539hib" rel="nofollow">http://prntscr.com/539hib</a>)?  Is it under pugins?  I don&#8217;t see that feature anywhere</p>
<p>thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-139626</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-139626</link>
					<pubDate>Thu, 06 Nov 2014 14:47:22 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>If you&#8217;re using Visual Composer, you can simply click on <strong>Edit</strong> of counter shortcode (see: <a href="http://prntscr.com/53ll2i" rel="nofollow">http://prntscr.com/53ll2i</a>). After that a window will appear. Just scroll down and you&#8217;ll a <strong>Class</strong> field. </p>
<p>Screencast: <a href="http://screencast.com/t/tWHV5C5u4sA" rel="nofollow">http://screencast.com/t/tWHV5C5u4sA</a></p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-143494</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-143494</link>
					<pubDate>Wed, 12 Nov 2014 17:36:36 +0000</pubDate>
					<dc:creator>Boyd T</dc:creator>

					<description>
						<![CDATA[
						<p>This makes the numbers count backwards, but it loses all of the other CSS that was applied. I am not getting the above and below text or anything else.</p>
<p>Example: <a href="http://vibranthealthevents.com" rel="nofollow">http://vibranthealthevents.com</a></p>
<p>at the bottom is the counter that counts from 199 &#8211; 99 just fine but has no CSS.</p>
<p>Example: <a href="http://vibranthealthevents.com/product/early-bird-conference-tickets/" rel="nofollow">http://vibranthealthevents.com/product/early-bird-conference-tickets/</a><br />
This is how it should look, except countdown, the only difference is the added class from the countdown-counter.</p>
<p>This is what I have on the top link:<br />
<code>[counter num_start=&quot;0&quot; num_end=&quot;199&quot; num_prefix=&quot;$&quot; num_suffix=&quot;&quot; num_speed=&quot;2000&quot; num_color=&quot;#28aae1&quot; text_above=&quot;Room Rate&quot; text_below=&quot;per night&quot; text_color=&quot;#000000&quot; class=&quot;countdown-counter x-counter&quot;]</code></p>
<p>This is the code for the bottom link:<br />
<code>[counter num_start=&quot;0&quot; num_end=&quot;99&quot; num_prefix=&quot;$&quot; num_suffix=&quot;&quot; num_speed=&quot;2000&quot; num_color=&quot;#28aae1&quot; text_above=&quot;Room Rate&quot; text_below=&quot;per night&quot; text_color=&quot;#000000&quot;]</code></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-143913</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-143913</link>
					<pubDate>Thu, 13 Nov 2014 01:51:53 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>How about this one,</p>
<pre><code>jQuery(function($) {

var numEnd   = $(&#039;.countdown-counter&#039;).data(&#039;num-end&#039;);
var numSpeed = $(&#039;.countdown-counter&#039;).data(&#039;num-speed&#039;);

$(&#039;.countdown-counter&#039;)
  .prop(&#039;number&#039;, numEnd   )
  .animateNumber(
    {
      number: 0,
      numberStep: function(now, tween) {
        var target = $(tween.elem),
            rounded_now = Math.round(now);

        $(target).find(&#039;span.number&#039;).text(now === tween.end ? &#039;0&#039; : rounded_now);
      }
    },
    numSpeed,
    &#039;linear&#039;
  );

});</code></pre>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-146947</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-146947</link>
					<pubDate>Mon, 17 Nov 2014 17:58:34 +0000</pubDate>
					<dc:creator>Boyd T</dc:creator>

					<description>
						<![CDATA[
						<p>The formatting is back (good), but the countdown functionality is gone. It is counting up instead of down.</p>
<p>Let me add a bit more&#8230;</p>
<p>It appears that it is not targeting the correct item because if I change the hard coded values in the function, they are not updating on the site. The only line that changed was the one starting with $(target </p>
<p>That new line is somehow not targeting the counter anymore.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-147252</guid>
					<title><![CDATA[Reply To: make counter feature count backwards]]></title>
					<link>https://theme.co/archive/forums/topic/make-counter-feature-count-backwards/#post-147252</link>
					<pubDate>Tue, 18 Nov 2014 05:33:59 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Boyd,</p>
<p>Sorry about that, can you try the code below instead.</p>
<pre><code>
jQuery(function($) {

var numEnd   = $(&#039;.x-counter.countdown-counter&#039;).data(&#039;num-end&#039;);
var numSpeed = $(&#039;.x-counter.countdown-counter&#039;).data(&#039;num-speed&#039;);

$(&#039;.x-counter.countdown-counter&#039;)
  .prop(&#039;number&#039;, numEnd   )
  .animateNumber(
    {
      number: 0,
      numberStep: function(now, tween) {
        var target = $(tween.elem),
            rounded_now = Math.round(now);

        target.find(&#039;span.number&#039;).text(now === tween.end ? &#039;0&#039; : rounded_now);
      }
    },
    numSpeed,
    &#039;linear&#039;
  );

});

</code></pre>
<p>Hope that helps. 🙂</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

