WordPress.org

Ready to get started?Download WordPress

Forums

Links not showing up in sidebar since upgrade (5 posts)

  1. bohemiangirl
    Member
    Posted 7 years ago #

    Hello,

    I just upgraded to WordPress 2.1.2 and am using the Gemini-Plus theme. Since upgrading, my links no longer show up in my sidebar. The links are still in my admin blogroll but I can't see them on my site.

    They were working fine before the recent upgrade.

    My url is http://www.bohemiancreations.ca/blog and I have the following tag in sidebar.php

    </ul></li>
    
    <li><h2>Bohemian Creations</h2>
    
    <ul class="links">
    
    <?php wp_get_links(1); ?>
    
    </ul></li>

    Please help.
    Thank you.

  2. Class
    Member
    Posted 7 years ago #

    Maybe it's the same issue as this?

  3. lexhair
    Member
    Posted 7 years ago #

    Go into your admin panel and click on manage->categories. Verify the category ID for "Links"1. If it's not 1, (say it's 4 for this example), you need to replace:
    <?php wp_get_links(1); ?>

    with

    <?php wp_get_links(4); ?>

  4. bohemiangirl
    Member
    Posted 7 years ago #

    Woohoo! It worked lexhair. Thank you so much.

  5. lexhair
    Member
    Posted 7 years ago #

    Glad for you. I would agree with Class. Try using

    <?php wp_list_bookmarks('category=4'); ?>

    wp_list_bookmarks()
    will be more "future-proof" and will give you much better control over how your blogroll/links/bookmarks are presented.

Topic Closed

This topic has been closed to new replies.

About this Topic