Forums

[Plugin: My Category Order] tree structure? parent/child (2 posts)

  1. worship-lifestyle
    Member
    Posted 1 year ago #

    Thank you for your great work!

    -I would love to enjoy it as well!
    I have the WP 2.5.1 a coupla days ago installed, just starting my blog and you plugin seems like THE plugin I'm looking for.

    So I installed it - all fine.
    I have the menu to config everything - all fine.

    I have the taxonomy.php is already replaced and it works for "category-order" and you other plugin "link-order".

    The question I got:
    As I understood it, it is possible to make a tree structure or something, that shows, which categories are subcategories of others.
    ...It show it, if I let it be shown as a dropdown, but not as a "normal" one.

    Thanks a lot!

    Christian

    http://wordpress.org/extend/plugins/my-category-order/

  2. froman118
    Member
    Posted 1 year ago #

    You'll want to turn the hierarchy option on. If you are using the widget there's a checkbox for it. For a theme you'll add hierarchical=1 to the function call. That will output subcategories as a nested list, but your theme's CSS would have to support it. You'll end up with output like this:

    <li id="mycategoryorder" class="widget widget_categories">
    <h2 class="widgettitle">Categories</h2>
    <ul>
    <li class="cat-item cat-item-56"><a href="#">Parent Cat</a>
    <ul class='children'>
    	<li class="cat-item cat-item-58"><a href="#">Child Cat</a></li>
    </ul>
    </li>

Topic Closed

This topic has been closed to new replies.

About this Topic