I am using the Delicacy theme. I want to show n my homepage the posts of the current day.
But if there are no post for that day it shows "No found". I want to show posts from the last day with posts instead. How can I do that?
I am using this query:
$current_year = date('Y'); $current_month = date('m'); $current_day=date('d'); query_posts( "cat=5&year=$current_year&monthnum=$current_month&day=$current_day&order=ASC" );