Recommend on Google
 

Generating an Automatic Popular Post List via Del.icio.us or Digg in WordPress



 

In this example I check the number of comments, and if they are greater than or equal to 10 (see the 8th line of the code below) then I display the post. This means that this Loop will show any post that has 10 or more comments. The $popular->query(‘showposts=50′); at the top of the script is so that this Loop will run the ‘number of comments’ check for each of your 50 latest posts.

Website:
www.cagintranet.com
Rating:
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
License:
Freeware
Added:
20/07/2010
Hits:
675
Category:
PHP Coding
Share:
Tags:
 

Add your Review