Use the pre_get_posts filter to remove your sticked product from the product loop.
add_action( 'pre_get_posts', 'exclude_stycky_product' );
function exclude_sticky_product(){
// target only the main query
if ( ! is_admin() && $query->is_main_query() ) {
$query->set('ignore_sticky_posts');
$query->set('meta_value', '1');
}
}
Hope it helps you !
Related Posts:
- Two Sections on Woocommerce Catergory Page [closed]
- Remove child products from woocommerce category page [closed]
- Remove product category placeholder image (Woocomerce)
- WooCommerce – How to show specific category first-rest of products-specific category last
- Display single category name in woocommerce loop
- Do not show sub categories in the loop on archive-product.php
- How can i change what one category displays?
- List post only under the category, exclude child category content
- Woocommerce custom taxonomy order
- How to check if I’m on the last page of posts?
- How can I hide a category from Contributors in the edit/add new post screen?
- WordPress Multiple Category Search
- Delete a specific category when deleting a user
- Programmatically create product category and add thumbnail in woocommerce
- Create product category and keyword search form in woocommerce? [closed]
- Trash bin for categories
- Loop with Dynamic Categories
- View category in the preview of Theme Customizer
- How can I create a loop to build slides based on multiple categories using Coda Slider
- Block multiple categories from Blog
- Categories list loop – add separator every year
- How would you create a “weekly” archive?
- Exclude most recent posts from specific category in wp_query()
- Listing all posts from current category on page
- Show posts of one category only with Custom Taxonomy on single.php
- Hide uncategorized products from the shop page
- Apply custom category template to subcategories
- Listing Parent, Child and GrandChild Categories and then the PostTitles on Page Template !
- Add custom taxonomy under the category title
- How to show in search results posts with a particular tag in a particular category?
- Multiple menu items highlighted
- Get woocommerce catogry
- How do I add a function on a specific post category?
- How to customize category template?
- Class active for Archive link – looped out
- need to add custom field in more products
- Taxonomy name repeating when showing 2 posts from each category
- how to get the categories for a single product in a hierarchical way
- How to redefine the sorting of product categories by menu_order?
- Get parrent category name
- Sorting category products not working
- Counter in loop in foreach
- How to exclude the last post from a category(featured for example) from the main loop?
- How to rewrite the post URL according to the category?
- Order by category titles
- Display thumbnails for certain category posts
- Limit get_categories to show each category once
- Building Menu from Woocommerce Product Categories
- Is there a reason I cannot get the current category in a loop?
- Category archive is displaying all posts rather than the specific category
- new WP_Query all post in a category inside the loop
- How to add orderby parameter for sorting on category.php
- List just subcategory and products of active category page in Woocommerce
- How to display the parent category if only the child category has been chosen
- Category tags with comma’s
- Different CSS class by category
- Custom tax_query filter not working for Woocommerce product categories
- How do order product categories – on a parent category page – in Woocommerce?
- Theme for subcategories
- Template for product-category page [closed]
- Category nicename inside loop in wordpress
- filter a loop base on specific category
- Problem with multiple loops in wordpress theme
- custom query for both category and pages using global $wpdb;
- Editing Loop So It Targets Specific Tags?
- Select posts that match multiple category names, must match all categories listed
- Last x Posted Categories?
- show only sub categories if available?
- Posts made to category don’t show up (do show up on frontpage)
- displaying the last product comment in the woocommerce category
- Display all categories but only if they have posts in them that have a specific tag assigned
- Woocommerce only display child category when parent is checked (on add new product page)
- Show audio player only in specific post type category
- In if…else condition, the else statement shows even if if statement is correct
- How can I display all products from all categories on one page with woocommerce?
- How to edit woocommerce sub-category page
- selecting categories that have products with tag/category
- Restrict retrieved terms by category?
- Please tell how to stop the category from showing up on posts
- Woocommerce: all products of all categories instead products of one category
- Loop by category and meta_key
- How to get WooCommerce Product Categories and its children’s children?
- Category custom template is not showing correct posts
- Woocommerce change tag_id to name
- Search Replace Database ONLY for posts of certain category?
- Configure query with multiple categories in a custom order?
- Show posts from all categories
- How to exclude a specific categogy from a custom page template
- Category menu that filters out empty categories
- My Query is getting the wrong data
- How do i add custom post types to this query?
- why is the delete option missing from just one category?
- Do not show all post from all categories, just show posts from category in current loop
- How to prevent page re-sizing for mobile browsers [closed]
- WooCommerce category display in custom page
- Echo Category In Loop
- Get all categories
- Function to reference post meta in place of category Woocommerce
- Get categories by title descendant
- Add custom fields to Woocommerce Category Page