PDA

View Full Version : Post counts remaining


SoloX
11-22-2009, 03:42 PM
Hello:

I have a target number of post counts, say 5 Million. How would I calculate the number of remaining posts to that target? I know VB displays the current total posts at the bottom of the main page. How can I use that $remaining = $target - $total?

Thanks

Lynne
11-22-2009, 04:05 PM
Create a plugin - use a hook location that is *after* vb does the current total - and put your php there and then spit out the results where you want it using a template_hook or editing the template.