Support » Fixing WordPress » De-nesting Link Categories.

  • Currently under my Blogroll, there are 2 categories.

    These are “Personal” and “E-zines”

    They are both nested under “Links”.

    My site can be accessed at http://www.wyafer.org

    I wish to get rid of the ‘link’ parent category all together while still mantaining the other categories.

    The code in my index.php file in WP looks like this:

    ‘<h2><?php _e(‘Links’); ?></h2>

      <?php wp_list_bookmarks(‘-1’, ‘

    • ‘, ‘
    • ‘, ‘ ‘); ?>

Viewing 7 replies - 1 through 7 (of 7 total)
  • Are you saying you just want to get rid of the title Links?

    If so just delete:

    <h2><?php _e('Links'); ?></h2>

    I would also suggest that you make your navigation on the sidebar consistent – some items have a bullet … some do not.

    Thread Starter Isabella Chen

    (@wyafer)

    Sorry. I’ve been fiddling with it.

    The chunck of relevant code is this

    <h2><?php _e('About the Site:'); ?></h2>
    
    <ul><li><?php bloginfo('description'); ?></li></ul>
    <h2><?php _e('Links'); ?></h2>
    <ul><?php wp_list_bookmarks('-1', '<li>', '</li>', ' '); ?></ul>

    So the e-zine and personal categories get lumped under “about the site” where before they were lumped under ‘Links”.

    I want them as completely seperate categories, while still being able to use the blogroll function in WP.

    Thread Starter Isabella Chen

    (@wyafer)

    This is the code I’m having problems with.

    <div id="sidebar">

    <h2><?php _e('About the Site:'); ?></h2>
    <ul><li><?php bloginfo('description'); ?></li></ul>
    <h2><?php _e('Links'); ?></h2>
    <ul><?php wp_list_bookmarks('-1', '<li>', '</li>', ' '); ?></ul>

    <?php get_sidebar(); ?>

    <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>

    Currently, it nests the sub-categories of the blogroll into one huge ‘Link’ category.

    Also, there’s that bullet beside the ‘pages’ category I don’t know how to get rid off.

    Please help!
    Thanks in advance…

    You have added E-Zines and Personal sections inside Links. Move them out of the Links section.

    Thread Starter Isabella Chen

    (@wyafer)

    I’m sorry, but how?

    It would be helpful if you could give me the code to copy and paste. I’m really confused.

    Thread Starter Isabella Chen

    (@wyafer)

    Ok. I got it.

    Now it’s this.

    <div id="sidebar">

    <h2><?php _e('About the Site:'); ?></h2>
    <ul><li><?php bloginfo('description'); ?></li></ul>
    <h2><?php _e('Links'); ?></h2>
    <?php wp_list_bookmarks('-1', '<li>', '</li>', ' '); ?>

    <?php get_sidebar(); ?>

    But there are the awful bullets I want to get rid off.

    Also, how do I completele remove the ‘Links’ category (which has nothing in it effectively) with out lumping the blogroll into the ‘About’ category above.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘De-nesting Link Categories.’ is closed to new replies.