How to generate a list of posts published on current day?

I want to create a page labeled “Today’s News” which displays a simple bulleted list of all posts published on the current day and grab the current date based on the server’s date/time. Is this feasible?

Thank you for any help.

2 Answers
2

Use query_posts

$day = date('j');
query_posts( "day=$day&order=ASC" );

Leave a Comment