• Hi,

    I’m new with taxonomies in WP. I made this custom category I named “Devices”. It works great in the backend ??

    image
    image

    In this category there are posts.

    What I would like to achieve is to read out the data this taxonomy has. (I’ve set the taxonomy on public’ => true)

    $labels = array(
    ‘name’ => _x( ‘Devices’, ‘devices’ ),
    ‘add_new_item’ => __( ‘Add New Device’ ),
    ‘edit_item’ => __(‘Edit Device’),
    );
    register_taxonomy(‘devices’,’apps’,array(
    ‘hierarchical’ => true,
    ‘public’ => true,
    ‘labels’ => $labels,
    ));

    Does somebody has any ideas?

  • The topic ‘Get data taxonomy’ is closed to new replies.