Forums

[resolved] Taxonomy and category children (3 posts)

  1. Geofeedz
    Member
    Posted 2 years ago #

    I am using stis plugin http://www.dagondesign.com/articles/multi-column-category-list-plugin-for-wordpress/
    and would like for it to display subcategories instead of all categories.
    I got as far as the "category" taxonomy but cannot figure out how to make it get only the children. Please help me if you could.

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    There's a option to exclude a certain set of categories with that plugin.

    If that doesn't work, guess you could modify the plugin and the $wpdb->get_results statement and the WHERE clause at line 186

    to something like this:

    WHERE {$tp}term_taxonomy.taxonomy = 'category' AND {$tp}term_taxonomy.parent != 0

    Warning: didn't test this

  3. Geofeedz
    Member
    Posted 2 years ago #

    Thank you. After a little more research I have found that the plugin will not do what I want it to. I will have to find a way to code columns into the theme. Thank you for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic