I need to display the number of posts that were added TODAY
I found this one that will show number of all posts but I need only last day
<?php
$total = wp_count_posts()->publish;
echo 'Total Posts: ' . $total;
?>
I've a felling that it's very easy but I coudn't any script that will work :(
Thank You in advance, Peter