Support » Fixing WordPress » 01-25: Sidebar messed up

  • Hi,

    i have just installed the latest nightly. In my sidebar, the “Site admin” link has disappeared in the “Admin” section, a blank entry is being shown instead.

    Another blank entry has appeared in my links list (which is nested) right before the first link category.

    You can see the errors here >>

    The site still validates as XHTML, though… A bit strange – does anyone else experience the same issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff


    Well, you’re doing the Links list wrong first. As for the “Site admin” link, check your index.php and make sure that it’s within its <div><div> tags.

    Now, to do link categories correctly, you add the links and choose their categories via the links menu. Now, open index.php and find:
    <?php get_links("-1", "<li>", "</li>", ""); ?>

    Change that to:
    <?php get_links_list("-1", "<li>", "</li>", ""); ?>

    Err – why do think that i’m doing the Links list wrongly? Everything worked fine until i installed the latest nightly.

    For the Links list i use
    <li><h2><?php _e('Links'); ?></h2>
    <?php get_links_list(); ?>

    and the Admin section is
    <li><h2><?php _e('Admin'); ?></h2>
    <li><?php wp_register(); ?></li>
    <li><?php wp_loginout(); ?></li>
    <?php wp_meta(); ?>

    What’s wrong with that? As i said – worked fine until 01-25…

    Just saw at the CVS that Matt has obviously applied a couple of changes to the default/Kubrick themes. I have to taker a closer look at those and change my modified files accordingly. Let’s see whether that helps.

    Moderator Michael Adams (mdawaffe)



    Link titles are now getting wrapped in h2: cvs diff

    Admin link won’t show if you’re not logged in: cvs diff

    After applying the changes in the default theme to my customized one everything is alright now – slightly different display, but i can live with that…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘01-25: Sidebar messed up’ is closed to new replies.