Take at look at Query time Parameters and the examples provided. Getting posts in the current calendar month is straight forward. Use $today = getdate(); then add 'monthnum' => $today["mon"], to your query array. Getting posts from the last 30 days is more complicated, but achievable.
Viewing 1 replies (of 1 total)
The topic ‘popular posts this month not all time!’ is closed to new replies.