I have a page template that allows users to create and update posts from the front end. I also am using 2 plugins, 1 that allows the user to...
I’m a bit stuck with a WP_Query code. Here it is : $args = array( 'post_type' => 'post', 'meta_query'=> array( 'key' => 'karma', 'compare' => '>=', 'value' => 0,...
I am trying to build a simple WordPress favourite post plugin that is scalable and could handle 1000s or 10000s of users or more. There are several different approaches...
I operate a real estate website, and I have a list of homes we are selling. I am using a bunch of custom fields to store information about the...
TL;DR: I’m trying to get the meta_value display_type for a taxonomy, but it returns blank (even though I can see it in the database). This question wants to access...
I have read several questions like this (for example, this), but no equal. I WP_Query need to perform a LIKE on a meta_value. My problem is that I want...
I know the question is quite ambiguous. Let me explain: I have a page that lists all posts with a certain value of a custom field. (Eg.: The page...
I’m trying to setup a custom WP_Comment_Query which is ordered by a meta key. (It might be worth mentioning that these comments are being retrieved with AJAX.) It all...
Reading through the order & orderby documentation, it’s not clear to me whether there is any support to order based on multiple meta_key values. Obviously, using meta_query I can...
I have a “Listing” post type with 30+ meta keys which I feel like can cause a strain on the database when there’s 100+ posts. Usually what I do...