2.3 categories update
I need to list categories, presently my query is this:
$query = "SELECT name,term_id FROM $wpdb->terms ORDER BY name ASC";
Which gives me categories and tags, i only need it to list cats, but i don’t know how to set the taxonomy up to only give me categories.
- The topic ‘2.3 categories update’ is closed to new replies.