Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Code for count up

Solved! Go to Solution.

hello everyone, i'm not sure if this is the right place to ask my question, anyway,

i have a website on wordpress, i want a code for count up and never stop at account page

( subscriber pages ),

simple counter start from ( Example: 0.000000 to 1.00000 )

and every 24 hours count 1 more, after 30 days this count will be 30.000000, a year 365.000000 and on and on,

the problem is all of those counter i found they reset, i want this count never stop ( like forever )

even if the subscriber logged out or clear the cookies etc etc, when he come back and login again, i want the this counter keeps working and not start from the beginning,

when the subscriber registred in my site this counter start and never stop,

where i can start and what plugin i have to use and what the code ??

sorry for long question but i really need help step by step,


1 Reply
Commander Lvl 3
Message 2 of 2

Re: Code for count up

A user has a registered_date which you can fetch using the API, or with a custom theme/widget. It then is easy to calculate what the value of the counter should be.

- Mark