Post meta vs separate database tables
When developing plugins that requires data storage, what’s the pros and cons of using one method or another ? The explanation given in … Read more
When developing plugins that requires data storage, what’s the pros and cons of using one method or another ? The explanation given in … Read more
I see many people prefer to use pre_get_posts hook instead of query_posts. The code below works and shows all posts which have meta … Read more
I found an XML to WP decoder script that stores the data as an array in a custom meta field. What is the … Read more
I was reading over some best practices from 10up and they mention setting these two flags to false in a WP_Query ( depending … Read more
I’m still struggling to get my head around this whole hooking into things, so I’m really stuck on trying to do the following … Read more
I have a query_posts call in a WP template. Through the use of the More Fields Plugin I can give the site admin … Read more
I have a series of posts that are ordered by a meta_key value. They could also be arranged by menu order, if necessary. … Read more
I would like to list all posts that have a key of cp_annonceur with the value professionnel. 6 What you are asking for … Read more
Three people have already tried to solve this, and we’re coming up nil. I want to show only posts that have a value … Read more
I need to get a bunch of posts with their metadata. Of course you can’t get metadata with a standard posts query, so … Read more