Since WooCommerce 3.2, Woocommerce shortcodes and their available attributes have changed.
So try the following shortcode instead (for “foo” product category):
[product_category limit="90" columns="3" category="foo" paginate="true"]
or inside php code:
echo do_shortcode( '[product_category limit="90" columns="3" category="foo" paginate="true"]' );
Now you will see that the sorting options dropdown appear.
Note: orderby
argument with an empty value has no effect. order
argument is ASC
by default.
Related Posts:
- Listing and displaying WooCommerce Shipping Zones in the frontend? [closed]
- echo something inside a shortcode
- How to work Woocommerce pagination inside shortcode?
- How to get woocommerce orders with get_posts method in a shortcode
- How to add a shortcode which runs a .php file for the current post
- Add Shortcode to ::before class
- How call WordPress shortcode inside function file
- WordPress Shortcode and Dynamic CSS
- How to have a custom display for both woocommerce archive and product-category pages? [closed]
- Woocommerce auto cancel On-Hold after X days
- WP_Query | Help me create a search term with an ‘OR’ relation?
- Archive listing of posts by publish year (multiple years)
- WooCommerce – Customer Order History Pagination
- The values of custom fields are not available functions.php
- Use wc_enqueue_js only on specific pages – nested add_action
- Creating a WordPress shortcode
- Display related products with custom output
- Use is_product_category() properly
- list posts and wrap them alphabetically A-Z
- Placing raw HTML inside a WordPress shortcode
- Changing Woocommerce flat rate every nth number of items
- How to select WooCommerce products by post_meta and order them
- Order posts randomly, not by date
- write custom woocommerce templates and forms
- WooCommerce – Email admin with new user details
- How to display posts by current user in a drop down
- Issue adding sub category programmatically
- Sort custom meta column by other meta value
- Auto-update products after they were published – Woocommerce
- How to VAR_DUMP a $variable during checkout process (Is my product meta callable?)
- Colon is Missing In My Website Url in WordPress
- Which field should I edit to make the checkbox marked by default?
- wordpress 4.4 self hosted video (html5) doesn’t show
- How to remove woocommerce_breadcrumb() from do_action( ‘woocommerce_before_main_content’ ); [closed]
- get_posts works in the page template but not in a shortcode
- Add post with approval by the admin
- How can I include shortcodes within PHP?
- Syntax error in a shortcode function
- Woocommerce display one random product via php
- Help with WordPress function inside a shortcode
- Change product_base programmatically
- How to optimize update_post_meta?
- Short code template + ajax
- WordPress shortcode returns the data before
- customize woocommerce templates and display store on home
- WC_Customer delete function returns error
- CSS change in woo commerce Place Order Text [closed]
- Exclude product attributes from taxonomy terms loop
- WP All Import / Update stock quantity from multiple XML files
- Woocommerce: remove total sum from new order’s email [closed]
- Alter Woocommerce product archive structure
- custom post type with role Vendor
- Removing custom sort order from admin page listing
- Shortcode for a Series of Elevating Image Files, Excluding a Range?
- Shortcode won’t execute
- Modify WooCommerce used to get all orders in dashboard
- Set document title through shortcode plugin
- Replace category title with category description in woocommerce
- Add Custom Category Description When Empty
- Add a product category to a specific product via a button
- Woocommerce display orders with products from specific categories to specific admins
- How do I reopen the (Popup Maker) after entering the correct password for a password protected page?
- Display div if category has a specific parent
- Use PHP Class in WordPress functions
- Don’t update modified post date when user add a product review or comment?
- How do I change the “login” label in My Account page to “Registered Customer”
- Customize the “Available for back order” text for specific variation
- How to remove the replace the product image by video on shop page conditionally
- I want to hide “sold by” on certain pages with id page 43
- How to add a PHP scripts into WordPress
- How to add custom attribute to all outofstock and all instock products automatically?
- Site infected by link
- Need to forward Data from WooCommerce Webhook sent to same site WordPress REST API custom endpoint
- Add Product Permalink in woocommerce admin order page
- sessionStorage saves input value in browser but it is not loaded in the form field
- Multiple Arrays for Custom Post Query using Boostrap accordions and ACF repeater fields
- Replacing entire tag with shortcode – JavaScript [duplicate]
- Shortcode just with a php code
- WooCommerce – Add Shipping class below each product in Shopping Cart page
- WooCommerce Custom Tab with ACF Repeater Field
- Custom fields changes the formatting of metabox input
- Display product attributes for current product
- How to remove image on single product and get product to span page?
- Contact form field in wordpress menu
- php string inside shortcode does not work
- Limit the number of successful logins
- Shortcodes (with a space) added to php Sample
- Sort posts by title, sort array by largest number [duplicate]
- How can I put a custom field as the link of a button shortcode?
- WordPress – show all posts + ones with specific tag
- Problem using explode inside add_shortcode() callback funciton [closed]
- Adding placeholder text field to woocommerce checkout [closed]
- Getting custom field data from cart page to checkout page in woocomerce [closed]
- Send a custom notification to customer on WooCommerce cancelled order status
- How to code bulk order form in wordpress
- Display Current Time using shortcode
- How to create shortcode of this PHP code
- Grabbing value of input field inside of array
- How to set variable to specific field when querying
- Woocommerce – add tracking code to another email template