WordPress.org

Ready to get started?Download WordPress

Forums

WP-dTree
Icons of node are always of page eventhough it is an empty category (2 posts)

  1. etdagan
    Member
    Posted 2 years ago #

    When a category has no children (i.e no posts are under this category) and I use the parameters: useicons = 1, listposts = 1,
    this category node is presented with an icon of a page.
    although it is not a page.
    it seems that the icon is set according to :has/does not have children. (if it has children then the icon is 'folder icon' while if it does not have children the icon is 'page icon')
    I want the pages to have different icons than the categories.
    (without considering if the category has children or not)
    is that possible?

  2. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    dtree is not aware of categories or pages or posts. It knows only the tree. A leaf node has one icon (the "file") a branch has another (folder).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic