Home Forums General Issues Taxonomy 0 value


Taxonomy 0 value

  • Hi,

    i have an ACF taxonomy field with values 0,1,2,3 (slug and names)
    it works fine for 1,2 and 3 but does not take the 0 , is there a restriciotn with it ?

  • i chnage dmy slug values to _0, _1, _2, _3
    and i do:
    $args = array(
    ‘post_type’ => ‘maintenance’,
    ‘posts_per_page’ =>-1,
    ‘orderby’ => ‘meta_value’,
    ‘meta_key’ => ‘urgence’,
    ‘order’ => ‘ASC’,

    and it seems that it’s ordered by the terms id…and not alphabetically

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.