• Resolved vickkmartinez

    (@vickkmartinez)


    Hello. I’m using a shortcode to show the list of categories in my website. I wanted to order the categories by the order I selected in the ‘order’ field. I can’t get how to do this. This is the shortcode I have so far:

    [betterdocs_category_grid post_counter=”true” icon=”true” masonry=”true” column=”3″ posts_per_grid=”6″ nested_subcategory=”true” terms_orderby=”menu_order” terms_order=”ASC”? title_tag=”h5″ ]

    I need to know what term should I use in terms_orderby=”” . I tried order, menu_order, betterdocs_order. And there ir no documentation with the options.

    I’ll appreciate your help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Amit Barai Alit

    (@amitbarai013)

    Hi @vickkmartinez ,
    Hope you are doing well.

    In the terms_orderby, the following values can be used:

    betterdocs_order = It follows the same order as the docs order in the all docs page.
    name = It follows the alphabetical order.
    term_id = Follows the ID of the category.
    slug = Follows the slug order of the category.

    And in the terms_order, you can use ASC for ascending order and DESC for descending order.

    Hope you understand. Please let me know if you need further assistance.
    Thank you.

    Plugin Support Amin

    (@amin7)

    Hi @vickkmartinez

    I hope you are fine and doing great.

    Are you able to display category list as per our previously shared instruction? Let me know how its going.

    Looking forward to hearing from you.

    Thanks & regards

    Plugin Support Amin

    (@amin7)

    Hi @vickkmartinez

    We did not hear from you since our last follow-up reply. We assume you are able to display the doc list as per your requirements. I am resolving this topic.

    Have a nice day.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order category in shortcode not working’ is closed to new replies.