• When I was using the older version of WP, it allows us to set the limit of links in (Link Categories), and it also allows us to sort the order (or randomize) it. It is particularly useful if we have a long blogroll.

    However, after I upgraded to 2.1.1 today, this ‘Link’ tab is now replaced with ‘Blogroll’, and the tab to ‘Link Categories’ is now removed.

    How can I do the same thing (randomize and limit to x number of links showing) with the new version? I expect the upgraded version to be more superior, but it is not!

    Please can you help to solve this? My friends are also having the same problem!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The Links and such have all changed fairly heavily. You should switch your theme to use the new wp_list_categories function. In those calls, you can determine how you want them to display and such.

    Thread Starter thesuzette

    (@thesuzette)

    Otto42, thanks for the advice. But for a dummy like me, dealing with that is really a pain, that’s why we need simple tools like in the older version… ?? Looking at those thing makes me headache. ??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    But for a dummy like me, dealing with that is really a pain, that’s why we need simple tools like in the older version…

    The problem is that those “simple tools” in the older version usually did not work. This led a lot of theme authors into building custom code into their themes just to display Links.

    So those tools were moved out of the admin interface and put into functions that the themes could use. Now, the theme’s can give you nice configurable options to do that sort of thing, but really it’s a presentational thing. The idea is to keep what and how things are presented under the control of the theme, and not in the core code.

    Because these changes are relatively new, themes and other tools to make it simple have not been developed yet. Hey, that’s what you get for being an early adopter. In time, those options will be available again, but in a more sensible way. That stuff didn’t really belong in the core code.

    Sorry. But if you don’t like it this way, then you should have stuck with the 2.0 series (which is up to 2.0.9 as of this writing).

    Otto42, Thanks for the info but I didn’t see any option for randomizing links. Do you know of any?

    Nevermind get_links function still works

    I believe this is what your looking for. wp_list_bookmarks

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Yeah, I can’t believe I made that link wrong a month ago.

    wp_list_bookmarks() is the correct function to use to display links/bookmarks/blogroll. It’s the one getting all the fixes and work done to it in newer WP versions. get_links and such will eventually be deprecated, I think.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Random Blogroll/Link-Category and Limit’ is closed to new replies.