Timeline for Query and get meta as object(stdClass) on wp postmeta table?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 12, 2011 at 10:42 | vote | accept | Jenny | ||
May 31, 2011 at 16:41 | answer | added | bitwit | timeline score: 1 | |
May 30, 2011 at 15:48 | comment | added | Jenny | @Jan Fabry , if you think there's other better way to display the graphs, please suggest. | |
May 30, 2011 at 15:14 | comment | added | Jenny | Every meta_key and value is unique. The validation is done when save the inputs into the custom field. | |
May 30, 2011 at 14:44 | comment | added | Jenny | @Jan, I want to get ids of all posts, plus the meta_key and meta_values that belong to each post_id. The object is a graph created by a plugin, it takes info from custom field inputs,calculate in a class. Now I need to loop through all the graph so that I can display a graph on each post-- that's what I learned-- loop and display. Unless I learned wrongly, I do need to loop all the graph seperately from the post loop. I borrowed a loop code to do the job, now need to input the object into the loop code. That's why need the formate as above. Any suggestion? Thanks! | |
May 30, 2011 at 13:48 | comment | added | Jan Fabry |
Do you want to do this for a limited number of posts or for (almost) all posts? (The difference is between using WP meta API functions and a custom query). And what if a post has multiple meta values for the same key? Overwrite with the last one? (Use @Jan when you reply in a comment and I get a notification)
|
|
May 30, 2011 at 13:27 | history | asked | Jenny | CC BY-SA 3.0 |