I have over 1000 posts. Each post has a custom field XYZ. I’m looking for a function that I can run once that will assign a value of 1...
I’m not sure if this is even possible (also posted to ACF forum https://support.advancedcustomfields.com/forums/topic/ordering-by-custom-field-of-relationship-field-object/#post-62454) I have two custom post types, Artworks and Artists. Artworks has an ACF post object...
I’m filtering posts by author’s last name initials. On my local server, the query runs beautifully, but when I push live, it doesn’t. It doesn’t find anything. Does it...
I’m using a Magic Fields 2 multicheck box to store Services which can be assigned to Case Studies. The data is stored as a serialised array in WordPress, and...
I am using WP_Query for visitor to filter the posts. The posts is about products. So in the filter, it has a field where user can select Maximum price...
I’m researching the structure of WordPress database and there is something that really get me confuesd. Could someone please explain, what is the exact job of meta_key and meta_value...
Trying to modify default admin search by including search by custom post type fields, Below is my code, function custom_search_query( $query ) { $custom_fields = array( // put all...
I want to select posts and custom post type with a specific meta value (mb_home!=0), of last week and ORDER them by mb_home. If they have the same mb_home...
We have a customized the registration process. Users register themselves. When a user registers, some meta values are updated based on the $user_id. Now we need to send an...
currently I am stuck with my real estate search. What I am trying to do sounds pretty simple: I have one field in a search form. I want that...