• Resolved wizcomhosting

    (@wizcomhosting)


    I have SCPO set to order a custom taxonomy product-categories. When I use get_terms() and print_r the result, term_order which is the taxonomy equivalent of menu_order is not set so the order_by doesn’t work.

    I have this taxonomy checked in settings and the sorting in admin works, it just doesn’t seem possible to use this in a template.

    Any ideas gratefully received

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter wizcomhosting

    (@wizcomhosting)

    A perplexing coda, if the argument parent => 0` is set the order is correct.

    So get_terms('taxonomy'=> 'product-category', 'parent' => 0) returns the order as fixed by SCPO, get_terms('taxonomy'=> 'product-category') does not.

    Thread Starter wizcomhosting

    (@wizcomhosting)

    Just to confirm, with parent => 0 the order is as Admin, with all children the order is term_order.

    It is my opinion that the term order should be set by SCPO when reordered in admin.

    Miha

    (@mplusb)

    Hi @wizcomhosting,

    Thank you so much for letting us know about this!
    I went ahead and opened a ticket re. this on our GitHub. You can follow it here: https://github.com/ColorlibHQ/simple-custom-post-order/issues/109
    Our dev team will investigate and fix in our next update.
    Apologies for the trouble!

    Warmly,
    Mihaela

    Thread Starter wizcomhosting

    (@wizcomhosting)

    Wonderful, I look forward to it.

    This topic will be marked as resolved as we have an open ticket on GitHub regarding this. Please keep in mind that the ‘resolved’ status is only for this support thread, not the issue on GitHub.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘term_order not updated’ is closed to new replies.