- This topic has 3 replies, 2 voices, and was last updated 4 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘categories sort’ is closed to new replies.
Home › Forums › Retail Pro › categories sort
How do I sort the categories at homepage? (not shop page)
You can use a shortcode instead, as this will allow you to place the categories in any order you want.
e.g. add this shortcode to your homepage content (in the page editor):
[product_categories ids="5,3,87,23" columns="4"]
The ids=”5,3,87,23″ are just an example, so replace these with your own category IDs, in any order you want.
To find out the ID of a category, go to ‘Products’ > ‘Categories’ and hover over the ‘Edit’ link for a category.
In the browser address bar you will see a link that looks something like this:
https://www.example.com/wp-admin/term.php?taxonomy=product_cat&tag_ID=42
The ID of that category is the number after tag_ID=, so that would be 42 in this example.
Is there any way?
Yes, use the shortcode method as detailed in my previous reply.