Hello! I connect the plugin: https://github.com/mhuggins/jquery-countTo/blob/master/readme.md

in the wordpress theme, but whatever value I enter, on which the counter needs to stop - it always stops at around 100. I connect to a simple html page - it works fine. Why can this be?

    1 answer 1

    Look carefully at the documentation, it says that by default the score goes only up to 100, in order to increase this limit, you need to pass a new value either when the timer is initialized using JavaScript or with the data-to attribute of the HTML element.

    • Yes, thanks, watched. Read my post more carefully: I have already said that on the test html page I get everything set using the data-to and data-from parameters both upwards and downwards, but as soon as I transfer everything to the wordpress theme - for any values ​​only stops at 100 - Vasya
    • Perhaps the WP template engine cuts off all unnecessary attributes. Look at the source of the page issued by WP, whether everything is there. - iliaznk 5:58 pm
    • yes no, everything is in place: <h3 class = "timer count" data-from = "0" data-to = "52"> </ h3> - John