WordPress.org

Forums

blogroll categories not working (3 posts)

  1. pumpkinpie
    Member
    Posted 10 years ago #

    I can't get my blogroll to display the categories that I have set up. For instance, I would like one that says blogroll for blogs and one that says helpful links and one that says fun sites. I set it up the categories in the link manager but the categories don't show on my blog. It just lumps all my links under blogroll.

    My blog is at http://myfrenchwindow.com

    Can someone please help me?
    Here is the coding in my sidebar.

    <?php if (function_exists('wp_theme_switcher')) { ?><br />
    <h3><?php _e('Themes'); ?></h3><br />
    <?php wp_theme_switcher(); ?><br />
    <?php } ?>

    <?php if ( is_home() ) { ?><br />
    <h3><?php _e('Blogroll'); ?></h3>

    <ul>
    <?php get_links(-1, '
    <li>', '</li>
    ', '', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?>
    </ul>

  2. moshu
    Member
    Posted 10 years ago #

    Read about the template tag you are using: Template_Tags/get_links - since you have the first parameter set to -1 = show all links, no categories.

    Read the related template tags (see the bottom of the page above) and choose one that fits your needs.

  3. pumpkinpie
    Member
    Posted 10 years ago #

    Thank you, Moshu.
    I knew it had to with something like that but I am not a computer person and learning an the fly.
    But, I think I understand. I appreciate your help.
    :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags