Support

Account

Home Forums General Issues Taxonomy 0 value

Helping

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 ?
    thanks

  • 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)

The topic ‘Taxonomy 0 value’ is closed to new replies.