I think you’re using wrong keys for meta_query array, also it expects nested arrays, even if you only have one query. Code below should help.
$args = array(
'meta_query' => array(
array(
'key' => 'is_url',
'value' => 'yes',
'compare' => 'NOT LIKE'
)
),
);
Related Posts:
- Display products from specific category in shop page
- Exclude post on loop by multiple meta key value
- How to query ‘posts_per_page’ to display a different blog posts index template?
- Query sticky posts with thumbnails
- WP_Query on custom field and order results
- Any number in meta key (wp query)
- Array as ‘key’ in WP_Query
- How to provide meta_key array to wp_query?
- Wp_query with 2 meta keys and array of meta values
- Meta query compare for ID’s greater than specific ID
- Use have_posts() with array of post results retrieved by $wpdb->get_results
- show most viewed post
- Meta Query if Values Don’t Exist
- Custom loop – Isolating post meta output depending on current query taxonomy terms
- Use REGEXP in WP_Query meta_query key
- Show posts without term
- Usage of the new “posts_clauses” filter in WordPress 3.1?
- How to Compare Two Meta Fields
- get_template_part in for loop
- Getting attachments by meta value
- Show two random posts from custom post type
- Add the “active” class only to the first loop item in a WordPress query [closed]
- WP_Query not working as expected for attachments and custom meta_query
- WooCommerce: filter by parent product’s taxonomy and product variation’s meta data
- Loop inside the loop
- Order By Multiple Meta Fields
- Advanced WP Query hogs the SQL server
- How to get user_id from wordpress database inside ajax function?
- WP_Query with multiple meta fields filter?
- How to combine meta_query and post__in in WP_Query
- Get posts for last working week in WP_Query
- How to orderby meta_value_num with dollar ($) sign
- query user display_name failed in a custom mysql query foreach
- Query posts by specific word on title
- Meta Query Array Error 500
- Reset postdata to custom query in nested queries
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- How to Filter Posts by Custom Fields?
- Fetch Record based on meta key dates
- Loop Split two Columns
- meta_query not working as expected
- How to filter a query by multiple meta keys and order by other meta keys
- different for loop if screen resolution < 1000px
- Transient api Caches confused
- Meta Query doesn’t works as espected
- Advanced WP_Query with meta_query, orderby?
- sort and display posts by custom field (wp-query and the loop))
- Issues with search after added meta_query
- Display posts with specific value first in query
- inserting content of 1 Post to in another with a template hierarchy
- WP_Query: apply an SQL function to meta fileld value
- How to search for meta_query LIKE or tax_query LIKE and grab these posts on search results?
- How to create dynamic value in WP_Query meta_query
- query post by author gender
- Pagination for custom loop on custom page template is not displaying anything
- Filtering by multiple conditions in the loop
- Display all attached image of every post of custom post type and link to original post
- How do I add an item to the WP admin menu?
- Multiple meta query from array
- Writing less unnecessary code with WordPress
- WP_Query with 4 post meta field arguments gives 500 internal server error
- Filter subpages in while loop from WP Query object
- Custom query does not find pages
- How to sort by most watched in X days/months
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- What’s missing in this wp_query and meta_query
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- How can I have sticky posts while ALSO showing posts from a specific category using one WP_Query?
- ACF: How can I publish values of ACF fields in a loop while using wp_query?
- Trouble with serialized metadata
- meta_query order by date present -> future then show null
- Show a message if there are no active posts in category
- Problem with my loops
- meta_query compare > not working
- display the children of the post using the current page as the main parent
- Display 3 levels of categories on page
- Paging works correctly on local version, but not live?
- How to add in WP_Query to every 3 posts displayed? [duplicate]
- Saving custom fields for WP_Query to retrieve
- Display three sequential posts on each page load, without repeating previous
- Filter posts/pages by user_role array
- WP_Query with MetaQuery issue
- Issue in If else condition [closed]
- Pagination not working with WP_QUERY
- WP_Query with meta_value_num and meta_query not paged correctly
- Post Query not working after updating to 4.1
- Orderby Meta Value and Query from Meta Query
- The sorting of posts by a meta_query with two keys fails while separated as single queries it works
- Sort Posts with custom meta key by default which is currently set as optional
- wp_query pagination links producing 404
- Display First posts without the default featured image
- WP_Query with several meta_query-statements and order by meta_value
- Pagination problem with multiple loops on the same page
- Can’t seem to get an else statement correct? [closed]
- Output ACF field dynamicaly within a taxonomy loop [closed]
- How do I split a large query with a semi-expensive function included into multiple smaller queries
- How do I have multiple metaqueries inside one wordpress query
- Query All Posts: Either Display Most Recent or One with Particular ACF Value Chosen
- Display only posts with thumbnails
- How to use meta_query to retrieve posts from multiple custom post type