WordPress.org

Support

Support » How-To and Troubleshooting » wp_get_links and WP 2.1

wp_get_links and WP 2.1

  • With WP 2.1, either wp_get_links quit working or the link category numbers were lost. I have separate sections in which I show separate groups of links (with categories that have names and USED to have numbers, too) by using something like:

    <?php wp_get_links(4); ?>

    Now they all come up blank.

    So which is it (broken function or lost numbers)? And how do I fix it?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Try to check the catgeory ID#s since 2.1 has a different structure for link categories – they are now together in one table with the post categories and consequently, their ID# gets changed during the update.

    I was having this same problem and once I changed the category ID# it worked perfectly!

    OK, I did that, and my links re-appeared. But the descriptions also now appear as text right after the link (in addition to popping up when you mouse-over an entry).

    So does 2.1 preclude having descriptions for blogroll links that only appear when you mouse-over?

    bumping to improve freshness 🙂

    Hi there. Same issues. Upgrade and lost my blogroll.
    But I’m a complete and total idiot. Not a programmer by any extent but I know enough to follow instructions well. 🙂

    I know how to get into my PHPdatabase to change things. (Just got my pages back, yey!) But where and what exactly do I need to do to fix this ID# issue and get my blogroll back?

    My site: http://www.oakmonster.com

    Any help would be greatly appreciated. Thank you!

    whooami

    @whooami

    Member

    look at your current theme’s sidebar.php.. compare that to the sidebar.php thats included with the default theme in the latest zip.

    The new template tag is used in the updated themes in the zip

    You have to add back each link to Cat blogroll.

    Sweet. Thanks for the tips, guys!

    Looking at the default template? Why didn’t I think of that! Duh! Thanks whooami!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘wp_get_links and WP 2.1’ is closed to new replies.