This should work, but I didn’t have the time to test it.
$query = new WP_Query( array( 'meta_key' => '_hit-counter', 'meta_value' => '1000', 'meta_compare' => '>=', 'orderby' => 'date' ) );
Related Posts:
- Automatic value for custom fields for posts
- WP_Query orderby not working with meta_value_num and menu_order
- How can I sort posts by the date and a custom meta field?
- How do I correctly set up a WP-Query to only show upcoming event-posts?
- Query Posts by Custom Field
- WP_Query custom field pass the post id
- Override WordPress core post-template.php block template
- How to get value of a selected option from select tag and use it in WP_query to filter posts?
- WP_Query sort by meta_value_num or date
- Creating Ordered Query using Meta_key
- WP Query between posts custom fields [duplicate]
- Order posts by separate menu order for different sub-categories
- Image inside the content is replaced with featured image from my older post
- Get current post id in functions.php
- Random sort within an already sorted query
- Search by Hyphen
- Custom Field in Featured image for A particular post
- Exclude drafts in all() view of edit.php
- Exclude posts that only have the ‘Uncategorized’ category [duplicate]
- Keep getting same permalink with WP_Query?
- WordPress Number of Posts Not Changing With posts_per_page
- Prevent duplicate posts in wp_insert_post using custom fields
- Adding a Nav menu to post admin
- Create new WordPress post [wp_insert_post] based on results of a WP_Query
- Exclude posts with specific meta_value while sorting by a separate meta_value
- get_post_custom stripping styling issue
- Display the latest posts, published in the last hour, with WP_Query
- Custom Order in WP Query
- Fetch posts from current week (Sunday to Saturday)
- Search query – exact post title match
- Converting multiple loops into one single loop with pagination
- How would I get 1 latest post from a query for 5 posts?
- How to get most recent commented post above new submitted post in WordPress?
- Exclude posts with empty post_content in wp_query
- Exclude posts from featuring
- Lazy Load using WP_Query pagination
- Only display a certain number of posts, dependent on how many posts there are available in a query
- AJAX filter posts by year
- Should $found_posts be returned as string in ‘found_posts’ filter hook?
- Duplicating Table of Contents for Paginated Post
- Yearly archive page for future year
- Ajax load more button in Recent posts widget
- Custom WP_Query with complex ‘post_status’ argument
- is there a way to show the the post title after the image?
- Blog post per page setting conflicting with custom WP_Query?
- How to exclude latest x posts from a paginated query?
- Is there a way to notify specific users when new posts are published to specific pages?
- Select only post id and meta value with WP_Query
- Categories list into registration form
- Add a custom meta box in the post options that loads some html code in the header
- how can i change WP main archives loop to sort by name or title
- Using wp_list_pages() after calling query_posts()
- How to I retrieve the ID from the Posts page?
- Loop doesn’t exclude the specified category in home page
- why the same code got different results when using query_posts in functions.php and index.php
- Query posts by Author and/or by Tag
- Edit multiple custom post types while saving a new or edited post
- How do I insert a after every 5 posts in a WordPress Loop that infinitely loads posts?
- WP_Query: Show 10 posts in date order, first three random
- Exclude some posts from displaying in wp_query based on some condition
- WordPress Loop: How to display recent posts in multiple divs
- Random posts that always include a particular post?
- Conflict array_splice on loop and query in widget
- WP_Query of Category Not Showing First Post
- saving/reading custom field value does not work – no value gets POSTed
- Adding external field to my post form (admin side) and to post show (frontend side)
- Change content off every sixth element
- How To Use Custom Fields With .mp3 Links
- how can display a post on home screen without images
- WP_Query get posts in custom database table [duplicate]
- How to save template data into wp_post table (post_content column)
- WordPress Query – Display 5 posts (same post type), each from a given tag
- While loop in functions.php outputting the_title() of each post on frontpage
- Show posts from two specific category in WP_Query
- How to create loop of posts except post ID defined via ACF field
- a WordPress connected to 2 database
- Using a meta_value or postdate to to query and orderby
- Exclude posts in home slider from sections
- Is there a way to save different data when USER interacts with the same POST?
- WP_Query that targets all categories
- Fill the exclude array() in get_posts()
- Double loop output
- Ajaxify Post Sort
- Get current user, change users post status to published
- Displaying a specific sub-category’s posts from wp_query
- Custom layout manager for posts
- GUID to related post not in current language
- Get results from the main wp_query
- get_the_ID() fails the first time, returns a value the second time it’s called
- Advanced Post Display/Pagination/Ordering
- Pagination for custom query won’t let me back on page 1
- WP_Query retrieve custom posts but not the post showing
- WP_Query based on a custom field result
- How to get single post by one author?
- List posts related to category on a div [closed]
- WP_query sort by custom meta_key “price”
- Wp_query WooCommerce products
- posts_per_page – Repeats only first posts ‘post__in’ array
- query_posts different amount of posts per page [duplicate]
- Filters do not work when there are multiple (one works)