Title: Auto-increment plugin/function?
Last modified: March 26, 2020

---

# Auto-increment plugin/function?

 *  [aethenon](https://wordpress.org/support/users/aethenon/)
 * (@aethenon)
 * [6 years ago](https://wordpress.org/support/topic/auto-increment-plugin-function/)
 * I am in need of a plugin (or any other practical solution) for a page with daily
   stats which auto-increments hourly (or daily).
 * I guess I need just a basic counter, but which updates automatically based on
   my instructions (Example: “CounterA increase by 3 every 24 hours”, “CounterB 
   increase by 3500 every 3 hours”)
 * I have been googling and trying some counter plugins and number plugins but so
   far without luck.
 * Please can anyone help me?
    -  This topic was modified 6 years ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [6 years ago](https://wordpress.org/support/topic/auto-increment-plugin-function/#post-12592649)
 * If a value is rigidly incremented at regular intervals, instead of maintaining
   a counter, you could just have a bit of code that calculates what the count should
   be. For example, determine how long it has been since a specific time in hours.
   Divide that by 8 to get a count equivalent to incrementing 3 times a day.
 * It’s really more of a “stopwatch” with arbitrary time intervals than a counter.
   A matter of semantics I suppose.

Viewing 1 replies (of 1 total)

The topic ‘Auto-increment plugin/function?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/auto-increment-plugin-function/#post-12592649)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
