Finally, the problem seems to be that posts was marked as sticky, not featured, and prepend other posts. So, I have featured products and sticky posts. I need to add featured meta key to posts and remove sticky flag.
Thank you very much Kovshenin
Related Posts:
- Custom Post Type, WP_Query and ‘orderby’
- Sorting a query by custom field date
- Number of pages – multiple (custom) post types
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- Sort by two dates. Default entry date and custom field if present
- Sorting multiple custom post types without a meta key/value pair by sort order
- Combining sorted and random CPT
- Wp_query: sort by PHP variable
- Crafting WP_Query array, sort by date
- WP_Query order by custom field, then randomly order some of results
- Sort results without WP_QUERY?
- Sorting the Loop by Taxonomy Value
- How to order query results based on if a custom field has been populated, then the order by the date of the post?
- Sort custom posts by date and then by taxonomy
- How to sort by multiple values in a nested WP_Query
- How to use multiple orderby conditions on query search results? (orderby one post type, relevance)
- Wp Query sort order from custom MetaBox
- sorting in wp query based on custom field value
- How do I sort post listing by child post count?
- Sort CPT by taxonomy AND THEN by custom field
- Meta query with boolean true/false value
- Search multiple custom fields by using meta_query
- category__in not working on custom post type
- How to sort a table of custom posts by column containing custom field
- Displaying Posts Related to Other Posts by a Taxonomy Term?
- Date query for a custom meta field
- Querying Posts by Taxonomy From Alternate Network Site
- How to query for posts (in hierarchical custom post type) that have children?
- Set default option in dropdown of WP_Query?
- Combine tax_query and meta_query in WP_Query
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- WP_Query pagination using only numbers instead of /page/1 on URL
- Query for posts in 2 taxonomies
- Parent / Child formatting in a list of post of a custom post type
- How do I create an archive page for standard posts?
- Multiple post type queries (with specific arguments for each)
- Custom WP_Query not returning results when querying custom post type
- Custom Post Type Loop within Shortcode
- How to add post_type=value when editing that post type in the WordPress admin?
- Display CPT posts based on specific taxonomy
- WP_Query: include custom post type only with specific meta value
- Filtering WP_Query Dynamically on the Front-End
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Problem querying Custom post type by custom fields
- Query Multiple Custom Posts by Custom Fields
- Custom taxonomies relationship
- Change sort order when using ‘orderby’ => ‘type’
- Add Custom Post Type of specific Custom Taxonomy to regularly blog loop
- WordPress wp_query() basic question about args
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- How to get specific post meta by title or id
- How to properly rewrite pagination rules for a CPT to avoid 404 error on /page/2
- $post->post_meta not pulling any post in wordpress/php
- WP_Query of custom post type sorted by meta_key has unexpected results
- How to get the post terms from a child taxonomy
- display posts of custom post type with custom taxonomy
- How to query for posts (hierarchical custom post type) that have children but are NOT top level?
- WP_Query get post from a category and from another post type
- foreach loop inside the loop creating duplicates in output
- Sorting by meta_key different to search criteria?
- Shortcode / WP_Query in post changes context
- All blog posts are not showing up
- How to fetch posts that are stored in the different table than (default) wp_posts?
- WP_Query order custom post type with certain meta key value by post modified date
- Cant’ Display Custom Post Type Title Base on Tax Terms
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Custom loop request based on custom field
- Display custom-post type based on the Title matching the current selected value
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- Pagination in custom post type archive.php not working
- WP Query: If field X is empty, show posts based on field Y
- Sort custom post column by generated value?
- meta query condition don’t work
- How to search through all child taxonomies using WP_Query?
- Numeric pagination custom post type
- Filter posts by their related field’s custom field
- Custom post type category returns null
- Custom post type order by post_title
- Tell wordpress to show a single page instead of an archive page
- How to get post by meta value
- How do I get all authors posts of a custom post type outside loop
- minimize wp_query call to database
- Filter custom WP_Query by first letter of a custom field – hopefully using Search and Filter Pro?
- WP Query filter search. Result show all posts instead just custom post type
- Display posts of a hierarchical custom post type excluding parent posts
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- WordPress loop add heading before first of type
- Only show current category post
- get_post_meta for Custom Post Type ( CPT )
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- How to query posts by meta keys AND under specific category?
- Shortcode display CPT Query only showing 1 post?
- Query stopped working
- How can I base a query off of the current page post type AND a meta value from another custom post type
- Storing/querying custom date data
- Query Posts From Multiple Post Types
- Fallback if statement based on the number filtered from it
- How do I hide single category post on my post page
- Get images only from a certain post type
- querying to custom field over ACF REST API