How to change the order of the categories on the mobile menu

This topic has 6 replies, 3 voices, and was last updated 2 weeks, 1 days ago ago by Jennifer

  • Avatar: Jennifer
    Jennifer
    Participant
    May 15, 2025 at 16:51

    Hello,

    We have a mobile menu where we chose to display the categories.
    However, we noticed that the order of the items in the category menu doesn’t follow the order we defined — they appear to be sorted alphabetically.
    How can we make the categories appear in the order we specified?

    This is how we ordered them:
    https://i.postimg.cc/N07PMmY0/categories.png
    And this is how it appears:
    https://i.postimg.cc/W1QPrMQ6/menu-category.png

    Thank you!
    Regards,

    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 16, 2025 at 08:24

    Hello @Jennifer

    Please, check the solution from next reply -> https://www.8theme.com/topic/default-to-alphabetical-order-on-mobile-hamburger-menu-category-section/#post-412733.
    If you need any other assistance, feel free to submit new topics.

    Kind regards, Jack Richardson
    The 8theme’s team

    Avatar: Jennifer
    Jennifer
    Participant
    May 16, 2025 at 13:39

    Hello,

    Thank you for your reply.
    I read the solution provided in another thread, but my case is the opposite.
    I want the categories to be ordered by default in the same order in which they were created.
    Currently, my categories in the mobile menu are sorted alphabetically, but I don’t want that.

    regards,

    Avatar: Alex Carter
    Alex Carter
    Support staff
    May 16, 2025 at 16:05

    Hello @Jennifer

    Instead of ‘name’ you can use ‘order’ value to display the categories in Category order you set from backend.
    $args['orderby'] = 'order';

    Kind regards,
    The 8theme’s team

    Avatar: Jennifer
    Jennifer
    Participant
    May 19, 2025 at 16:54

    Thank you!

    Avatar: Jennifer
    Jennifer
    Participant
    May 19, 2025 at 16:54

    Thanks for the support! My topic “How to change the order of the categories on the mobile menu” has been successfully resolved.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘How to change the order of the categories on the mobile menu’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.