Grabbing WordPress Statistics Data in the Loop
-
I want to grab WordPress Statistics data for each post while in the loop. Is there any way to do it?
E.G.
<?php
$recentPosts = new WP_Query();
$recentPosts->query(‘cat=-8&showposts=3’);
?>
<?php while ($recentPosts->have_posts()) : $recentPosts->the_post(); ?>
<?php
$hits = POST HITS
$todayshits = HOW MANY POST HITS TODAYIs anything like this even remotely possible?
Thanks,
Jordan
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
The topic ‘Grabbing WordPress Statistics Data in the Loop’ is closed to new replies.