Woocommerce set loop_shop_columns to be 3 in the main shop page loop only and 4 otherwise
Related Posts:
- WP_Query vs get_posts
- Usage of the new “posts_clauses” filter in WordPress 3.1?
- How to list some posts first in the loop based on post id
- WP_Query: query posts by ids from array?
- What is the most efficient way of querying posts based on visits and date for current day?
- Query WooCommerce orders where meta data does not exist
- WP_Query for WooCommerce Products
- pre_get_posts with get_posts
- How to order posts tag by tag?
- Query Custom Meta Value with Increment
- Identify which loop you are hooking into; primary or secondary?
- how to retrieve specific product attribute value in an sql query?
- Transient pagination not working properly
- Display featured products through custom loop in WooCommerce 3 [closed]
- meta_query on a date range using an array of values
- Splitting the main query in multiple loops with query_posts and/or pre_get_posts?
- How to implement time filter to show random post 1 month for one category and 3 months for other categories
- WooCommerce Only OnSale Products Loop Snippet [closed]
- Undefined WP_Query::has_posts()?
- What is considered a default query for the request filter?
- Create ONE callback for all page templates, post filter queries + paginated pages, triggering pagination via AJAX
- if/else on custom query gives 200 OK when condition not met?
- Query total number of posts
- merge two query arguments into one WP_Query call
- Get all products which have both product category
- How do I run through a WordPress loop called from a filter function?
- How to use the query hook/filter?
- Filter posts in category archive page by year using a dropdown
- Order by empty custom field
- Out Of memory issue on post per page parameter
- Check if loop has any categories?
- How to get list of posts from permalinks?
- Is_single() conditional tag returns null in query
- Transient api Caches confused
- Include current post into loop
- Filter post query to only show direct children of category
- How to make posts unqueryable/unpublish posts where ACF relationship field is an unpublished post? [closed]
- Should I reset $wp_query?
- Exclude a Woocommerce product from WP_Query
- How to filter query loop block with a search string from the query parameters
- Filtering by multiple conditions in the loop
- relation OR instead of AND – Filtered term ID’s in loop
- I am officially missing something about transient posts
- Why does apply_filters behave different inside and outside a loop?
- Display posts ONLY from the current logged in user and current week/year/month Elementor posts
- Woocommerce Get Orders By Meta Value
- Get categories within specific term
- Woocommerce featured products query no longer working
- Ajax buttons not working properly in WooCommerce when using wc_get_template_part
- Query Posts | Combining multiple form inputs into query arguments to generate one filter result
- WP_Query & Duplicate entries
- Create global array to compare inside a query
- How to add in WP_Query to every 3 posts displayed? [duplicate]
- how to show more than 1 post into three columns query
- WP_Query doesn’t works inside loop
- Using the same WP_Query for shop and widgets in WooCommerce shop
- Fetch only categorized posts
- Ordering Posts by parent category, name ascending
- WP_Query secondary query failing
- Loop through multiple custom fields with increasing number
- meta_query dates from an array
- Adding arguments to WooCommerce Product Loop using AJAX
- Main loop querying current template’s info only in custom category archive pages, not my posts
- Show linked products using wp query and woocommerce
- Multiple queries and pagination
- Order by summing multiple values
- Set global $wp_query/$post variable for dynamic page generation
- Show post number in widget loop
- Extend product search with meta in WooCommerce
- Display filtered results into custom page
- WooCommerce – get product sub categories
- Query posts intersecting tags and categories
- WP_query sorting can’t sort danish letters (æ, ø, å)
- posts_per_page not working for first page of pagination
- Slow queries on a huge database
- Having trouble with WooCommerce Storefront child theme single.php “related posts” modification [closed]
- woocommerce get_price_html not pulling in correct price
- 1/3 of posts different class
- Woocommerce – Changing the order of the upsell products [closed]
- $WP_Query: How to display excerpt on first post only
- Loop Performance > JSON files vs. WP_Query vs. REST API
- Two loops on archive page
- Loop Split two Columns
- How to order posts by title after they have already been sorted by category
- WP_Query with ‘rand’, but equal number of posts from the taxonomy terms given
- Excluding pages in WP_query using ACF
- reset to main loop doesnt work
- Multisite pagination issue by multi query archive 404
- Applying posts_clauses filter to specific queries only
- Add class to first post in custom loop using post_class filter
- WordPress query with items from more than one selfdefined taxonomy as `term` argument
- Some doubts about how the main query and the custom query works in this custom theme?
- Query with relation and one without relation using multiple taxonomies?
- WP_Query with different postmeta filter for each categories
- Search form not working with custom query?
- Post loop for all taxonomy terms
- Slow WP_Query with ‘OR’ on meta_query
- Include data from custom table in WP_Query
- How to make search for posts using get method?
- WordPress ignoring LIMIT / posts_per_page despite being in wp_query