• Resolved itukib

    (@itukib)


    Thank you, I always helped by your plugin!

    I want to Rest API use ‘term_order’.
    but
    i request
    {domain}/wp-json/wp/v2/categories?orderby=term_order, this have error.
    error is “rest_invalid_param”.
    i want to use your plugin’s “orderby”.
    please teach me hot to use !

Viewing 1 replies (of 1 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi,
    This should all work automatically.
    It is even the case that on any request where you add orderby= the plugin will skip over sorting and leave it as is.

    On the settings for Dashboard > Term Order > Category you can set it to Custom order, and it should just sort them automatically following the given order.
    I just tested here, and it does work. After changing the order for categories, it gives the updated sort order.

Viewing 1 replies (of 1 total)
  • The topic ‘Teach me how to Rest API use ‘term_order’’ is closed to new replies.