Undefined property: WP_Query::$post
I am working on some rather elaborate comparisons between metadata and having a bit of trouble correctly referring to results from my query. … Read more
I am working on some rather elaborate comparisons between metadata and having a bit of trouble correctly referring to results from my query. … Read more
I have the following query but it is still returning results which include posts which have a meta value of ‘deal’. Any Clues … Read more
I’m developing a WP plugin which uses custom post types and meta data. What I’m trying to achieve is having the meta data … Read more
Great forum! I’m a total newbie to SQL but a quick learner. I have a large database of content, >140k posts. Some posts … Read more
I want to order WP posts by meta key named “sort_date” and if it doesn’t exist it should use the post’s published date … Read more
function get_nb_offres( $typeOffre ) { global $type_bien_correspondances; $args = array( ‘post_type’ => ‘annonces’, ‘meta_query’ => array( ‘relation’ => ‘OR’ ) ); foreach( $type_bien_correspondances[$typeOffre] … Read more
This question already has an answer here: 2 orderby in wp_query with 2 custom fields (1 answer) Closed 6 years ago. 1) Custom … Read more
I’m trying to resolve the problem with event displaying. An event has its start and end dates, written in meta. For example, event … Read more
I have a problem in a plugin of mine which uses post meta to store ownership of a post. Basically, my issue is … Read more
So I have a wp meta query that is handling the searching of events which have a start timestamp, and an end timestamp, … Read more