• Ok, so I was having probs with the blogroll/categories issue. (Click my member link to see my trouble posts.) I did a little more searching and found this article. I really wish I had seen this first!

    It answered one of my major questions and gave other nice info about 2.1 as well. Here is a tidbit that I found useful. Be sure to read the entire article at https://www.technosailor.com/10-things-you-should-know-about-wordpress-21/

    “Merging of Links and Categories – … In previous versions of WordPress, links and categories were handled as two separate entities. Links were seen as a thing used solely to power a blogroll and Categories were seen as a way to solely compartmentalize posts. In WordPress 2.1 … the Categories table is now prepopulated with a Blogroll category and all links are assigned, by default, to the blogroll category.”

    Thanks Aaron!!!

Viewing 9 replies - 16 through 24 (of 24 total)
  • I am trying to figure out what benefits this change might confer… I guess I could put links into post categories and then have a custom set of links for different category pages if I wanted? Yeah, I guess that would be easy to do…

    I had to re-sort, categorize my Blogroll links as well, but I was wondering, since the mergine of both categories, how do we now limit the links in our Blogroll to a specific number, as was possible in pre WP 2.1. Another option was to randomize it, therefore if you had 30 links, you could set it to show 10 at a time, randomized. The codex doesn’t seem to have been updated to reflect the latest changes of WP 2.1 in this regard

    So – how do I go about recreating my ‘sectioned’ (not in the crazy way) links list in a similar way to before?!

    When I put:

    <?php get_links(2, ”, ‘
    ‘, ‘ – ‘, FALSE, ‘name’, TRUE); ?>

    I don’t get any links…

    So at the moment I can only have 1 long list of my categories.

    So – how do I go about recreating my ‘sectioned’ (not in the crazy way) links list in a similar way to before?!

    When I put:

    <?php get_links(2, '', '<br />', ' - ', FALSE, 'name', TRUE); ?>

    I don’t get any links…

    So at the moment I can only have 1 long list of my categories.

    I don’t see why get_links can’t still be used. It’s not deprecated in 2.1

    If you look in admin->manage->categories, you’ll find that WP added some new category IDs. I just replaced the “old” cat ID with the new one and get_links works fine for me.

    So what do I replace the following code with to get a list of the links I have separated by their category. I don’t see an answer to that question anywhere above.
    ‘<?php $link_cats = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->linkcategories”);
    foreach ($link_cats as $link_cat) {
    ?>
    <li id=”linkcat-<?php echo $link_cat->cat_id; ?>”><h2><?php echo $link_cat->cat_name; ?></h2>

      <?php get_links($link_cat->cat_id, ‘

    • ‘, ‘
    • ‘, ”, TRUE, ‘id’, FALSE, FALSE); ?>


    Currently I'm getting a MySQL syntax error in the query:
    “SELECT cat_id, cat_name FROM $wpdb->linkcategories”`

    Thanks Pizzaman – again, I feel silly for not looking harder before posting.

    Mandrill – for me it was just a case of my category ids for my links changing. I found the new ones by following Pizzaman’s advice. I don’t know if that would work for you as I’m not very clever.

    Sorry I can’t help.
    A.

    The upgrade to 2.1 is starting to take me down, why oh why should they merge the blog posting categories with the links ?

    Why is it forced upon the WP users and not an option one could choose instead ?

    For now, I think that 2.1 is a bad upgrade.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Merging of (blogroll) Links and Categories in 2.1’ is closed to new replies.