Wordpress comments - perform simple math?

Posted by RodeoRamsey on Stack Overflow See other posts from Stack Overflow or by RodeoRamsey
Published on 2010-06-11T23:33:51Z Indexed on 2010/06/11 23:43 UTC
Read the original article Hit count: 273

I have a Wordpress website in which one of the categories I've stripped the comments field down to basic whole numbers only. The logged in user can enter data on the post via the "comments" field, in basic simple whole numbers. Is there any way to take the MOST RECENT comment on all posts from that category (cat 1) and run basic math? My goal is to take the most recent comment's input from each post and add it together and display it via some php/html on another page/post or widget somewhere. Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress