I am new in this forum, and havent read yet the rules, so i apologies if i am breaking one of of them.
I have a database with 3 fields, ID, post_date, post_category,
i am trying since 3 hours to get some results that i want.
So what i am trying to do is:
group the posts by xx category, and order them by date , to get the latest post from that category.
Hello, thank your for the fast answer, but i want to get the LATEST posts from XX category , i have pasted this at my function, but it dont get the results i want. any idea why ?