WordPress.org

Ready to get started?Download WordPress

Forums

2.3 categories update (1 post)

  1. Tammy Hart
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic