Forums

WP 2.1 - How do I get my Blogroll back? (6 posts)

  1. sfam
    Member
    Posted 2 years ago #

    WP 2.1 seems to have merged my regular categories with my links categories. Is there a way now to show JUST my links categories (now called blogroll)? This seems like a pretty important function.

    Currently I get a WP Database Error:

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'INNER JOIN wp_links ON link_category = cat_id WHERE ]
    SELECT cat_id, cat_name, COUNT( link_id ) as num_links FROM INNER JOIN wp_links ON link_category = cat_id WHERE link_visible = 'Y' GROUP BY cat_id HAVING num_links > 0 ORDER BY cat_name

    Are blogrolls without post categories just not possible in 2.1? Any help would be much appreciated.

  2. samboll
    moderator
    Posted 2 years ago #

    wp_list_bookmarks is what you need to look for in your theme. If it's not there you can add it yourself with <?php wp_list_bookmarks(); ?> and some styling or check with your theme's author for an update.

  3. sfam
    Member
    Posted 2 years ago #

    Thanks Samboll! Is there a way to change the ordering of the categories (not the links within the categories but the order of the categories themselves?

    This appears to be done alphabetically. My previous workaround to this was to add a space at the beginning of those I wanted at the top. This no longer works.

  4. jbogs1
    Member
    Posted 2 years ago #

    Hi Guys- I have the same problem and cant figure it out. Would one of you be interested in taking care of it for me for a trade?

  5. Root
    Member
    Posted 2 years ago #

    Look the function up in Codex. All the arguments (the bit you need to put in ) are explained.

  6. proxi
    Member
    Posted 2 years ago #

    is there a hook, to use with this functions?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags