Support » Plugin: Jellyfish Counter Widget » Do you have sample short code that uses the ‘String”

  • sock2me

    (@sock2me)


    I’m not sure what you are talking about in the instruction regarding a ‘string’ – I’m trying to get comma’s in between my thousands & hundreds: 188,044

    This is my shortcode so far

    [jellyfish_counter end=188044 digit_style=”font-family:’Montserrat’, Arial; font-size: 2em; background: transparent; color: #3d7ec1;” flat=true speed=100]

    Can you provide me with the bit for the comma’s? AND… can it go any faster at all?

    Thanks!

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

    (@toxictoad)

    To format the counter to include text, you just specify a string in the format parameter which can contain any characters. It should contain a number of 0 characters corresponding with the number of digits you need in the counter or number of digits + 1 if the counter is also showing tenths.

    Something like:

    [jellyfish_counter end=188044 digit_style="font-family:'Montserrat', Arial; font-size: 2em; background: transparent; color: #3d7ec1;" flat=true speed=100 format="000,000"]

    It’s not possible to increase the speed in the current version, that’s a limitation with the animation method.

    sock2me

    (@sock2me)

    Thank you so much Mr. Strawberry!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.