Hi guys, I'm writing here because I need you help.
I have written this code in my template:
$sql_data = "
WHERE post_date_gmt > ".(time()-strtotime('-2 weeks'))." AND post_type = 'post'
I want to modify this code to fit my idea but I've searched in the Codex and on the forum but I haven't found a solution.
I'd like to define a date, for example the posted articles in the last 2 weeks and only the articles in the Category (50).