Thread Starter
StErMi
(@stermi)
Uhm at the moment I cannot modify my previous post.
This is the code I was talking about: http://pastebin.com/thYiryr4
Also, is there a better way to do that? I mean to load latest posts with author, tags and categories with only 1 query?
Thread Starter
StErMi
(@stermi)
This is the query I need:
[Code moderated as per the Forum Rules. Please use the pastebin]
As you can see I’m pretty new to WordPress. Now With this query I get a record for each tag and category of each post.
I was wondering if WordPress has some internal function to manipulate this data and get something organized like a Post object with an array of categories and tags. Then I will encode in JSON or XML.
Can you help me?
Got an error using wp_signon
someone know why?
This is code: http://pastebin.com/wrJePTdJ