Support » Plugin: Jellyfish Counter Widget » Problem while using the short-codes

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Strawberry Jellyfish


    Hmmmm, shortcode isn’t quite right.

    The first widget counter on your page is a continuous counter with an interval of 0.05

    The one you’ve made as a shortcode isn’t running in continuous mode which is also why it goes back to the start value on page reload (it’s missing the timestamp) and has an interval of 1, also speed has no effect on continuous counters so ignore that option.

    Try something like this:

    [jellyfish_counter start=400124910 end=999999999 interval=0.05 timestamp="2015-03-09 18:00:00" digits=9 direction="up" flat="true" format="000,000,000" digit_style="background: transparent; color: red;" tenths="false"]

    timestamp is just a date time string reference point so the counter knows when it should have started counting from. A widget creates it’s own internal timestamp when it is created but as a shortcode has no notion of when it was created you need to specify one manually. Anyway, the timestamp just represents when the counter was 0 (or the starting value, 400124910 in your case) so you may want to adjust my example to tweak your desired values… If you wanted to you can make the start value 0 and the timestamp (400124910 * 0.05) seconds in the past and you’d get the same result.

    Well that’s probably more info than you needed, play with the example I gave above and tweak your timestamp or start value as desired that should do the trick.

    Plugin Author Strawberry Jellyfish


    I should probably add that the timestamp is in localtime and the one in the example was just the date / time I wrote the post, so substitute with your own.

    Thanks so much, that fixed it immediately. I have four counters, three are in continuous but one starting again each time I refresh the page. sorry to ask again. Any idea what would be causing this to happen.

    [jellyfish_counter start=11111 end=99999 speed=50 interval=2 timestamp=”2015-03-09 18:00:00″ digits=5 direction=”up” flat=”true” format=”00,000″ digit_style=”background: transparent; color: red;” tenths=”false” digit_height=30 digit_width=20]


    Plugin Author Strawberry Jellyfish


    That looks OK, like I said you can omit the speed param in a continuous counter as it doesn’t do anything, but I doubt that’s what is causing the problem.

    No idea I’m afraid, I’ll have to test it out when I get a moment and let you know if I find anything.

    Thanks appreciate your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem while using the short-codes’ is closed to new replies.