• Resolved bitsquid

    (@kimingdal)


    Hi all.

    A site I’m working on uses Simple Custom Post Order (plugin) to sort terms, and the term_order column is updated correctly in the database. However when I query the terms the order won’t change according to the term_order column in the database.

    What I’ve checked so far:
    – I’m passing ‘orderby’ => ‘term_order’ as an argument for wp_get_post_terms, so it should follow the order from the database.
    – I have tried deactivating the cache-plugin.
    – I have tried cleaning any serverlevel caching.
    – I have checked that there is no transients saved in the wp_options table.

    The terms changed order a few times before it got stuck in the current order.

    Anyone have a idea of what might be the issue/reason here?

    • This topic was modified 5 years, 9 months ago by bitsquid.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Hi bitsquid, it appears you have resolved your issue yourself. That’s great, please disregard. I’m primarily posting so your topic falls off a list that many use to find those still needing help.

Viewing 1 replies (of 1 total)
  • The topic ‘term_order updated in database, but not in wp_get_post_terms()’ is closed to new replies.