WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Show link category hierarchy in non widgetized sidebar? (6 posts)

  1. Sulis
    Member
    Posted 5 years ago #

    I am using a theme with a non widgetized sidebar. I have added code to the sidebar.php in order to show a list of links, but it does not show the hierarchy of my link categories - it just dumps them all into one big list. How do I change the code in order to show category hierarchy? I would really appreciate it if someone could take a look at my site and give me some help on how to do this:

    http://frenchtofluency.com/

    Thanks!

  2. Sulis
    Member
    Posted 5 years ago #

    Anyone??

  3. Sulis
    Member
    Posted 5 years ago #

    Last try. Hope someone can help me...

  4. froman118
    Member
    Posted 5 years ago #

    I'm going to assume you're using wp_list_bookmarks, http://codex.wordpress.org/wp_list_bookmarks, in your sidebar. Make sure you don't have "categorize=0" in the parameter list. Remove it or set it equal to 1 to display links in their categories.

  5. Sulis
    Member
    Posted 5 years ago #

    Thanks for replying.

    This is what I have in my sidebar relating to the links:

    <div class="box2">

    <div class="top"></div>

    <div class="col3">
    <h3>Categories</h3>
    <ul class="list3">
    <?php wp_list_categories('title_li=&hierarchical=0&show_count=1') ?>

    </div>

    <div class="bot"></div>

    I have tried changing the hierarchical number from 0 to 1, but it doesn't make any difference - my links are still all in one big list. Maybe you can see where I have gone wrong with this code? I hope someone can help me out.

  6. thx2012
    Member
    Posted 5 years ago #

    Did you resolve this?

    I too am trying the same thing and have followed instructions, however did not get it to work either...

    I'm not sure why this post is marked 'resolved' when there is no stated resolution in here...

Topic Closed

This topic has been closed to new replies.

About this Topic