Home Forums Retail Pro categories sort

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11342
    Ilay
    Participant

    How do I sort the categories at homepage? (not shop page)

    #11345
    Andy
    Keymaster

    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.

    #11415
    Ilay
    Participant

    Is there any way?

    #11417
    Andy
    Keymaster

    Yes, use the shortcode method as detailed in my previous reply.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘categories sort’ is closed to new replies.