Forums

WP-dTree
Limit depth of categories (2 posts)

  1. deveti
    Member
    Posted 1 year ago #

    Hey. First of all awesome plugin!

    I'd like to know if it is possible to limit list of categories to 2 levels (there are actually 3 levels, but I want to group the third one in category view)

    So I have category of products like this
    -Tables
    -- table type 1
    --- table type 1 company 1
    --- table type 1 company 2
    -- table type 2
    --- table type 2 company 1
    - Chairs
    ...

    I'd like to show tables and table types but no companies (if you look at category hierarchy).

    Can you help me do this?

  2. deveti
    Member
    Posted 1 year ago #

    I've tried to add
    'depth' => 2,
    in 9th line of wp-dtree-cat.php file, but that does not do the trick. Any other ideas?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic