I am trying to re-order my categories from the default alphabetical order.
My admin backend my categories look like this:
And on the frontend they they look like this:
Is it possible to have them displayed in the way I have sorted them in the backend?
There is a woocommerce shop, categories on the left side (sidebar) and on the right side products. A product can have multiple categories; for example, the product "Burger" is in the categories "Food" and "Fastfood".
Go to Appearance > Customize in your WordPress admin. Once the Customizer opens, go to WooCommerce > Product Catalogue. This is where you will find your options for sorting products. Ensure that Default Product Sorting is set to “Default sorting (custom ordering + name)”.
add this to your args list
$args = array(
'orderby'=>"menu_order",
);
Within the array used for the loop's arguments uses native Wordpress functionality to accomplish the OP's goals... rather than installing yet another plugin where it's not needed. "Thank you :@aronmoshe_m"
The Category Order and Taxonomy Terms Order plugin will allow you to do this. It'll add a drag-and-drop sortable interface to the backend where the changes you make will take effect both on the backend and the frontend.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With