• Resolved ciryaquen

    (@ciryaquen)


    Had a demo 2.0.6 site. Installed a brand new 2.1 demo site. Using default (Kubric) theme. The descriptions show under the blogroll links in 2.0.6 but not in 2.1. (There are two different databases.)

    Is this a new bug or is there some sort of switch that needs to be thrown to get the descriptions back?

    The installations are on my local mac and not live anywhere on the net. Sorry.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter ciryaquen

    (@ciryaquen)

    I’ve stumbled on the answer via Lorelle’s blog.

    There’s all kinds of tag changes from 2.0.6 to 2.1

    For one thing the blogroll/links have been totally changed.

    The WP 2.0.6 tags <?php get_links_list(); ?> used to default to showing the description.

    show_description?
    (boolean) Should the description be displayed (TRUE) or not (FALSE). Valid when show_images is FALSE, or an image is not defined. Defaults to TRUE.

    The new WP 2.1 tags <?php wp_list_bookmarks(); ?> don’t show the descriptions by default.

    show_description?
    (boolean) Should the description be displayed (TRUE) or not (FALSE). Valid when show_images is FALSE, or an image is not defined. Defaults to FALSE.

    Go figure!

    I can’t get show_description to work either. I also didn’t see the argument listed in bookmark-template.php

    Is this feature un-implemented or being killed?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    No, show_description is indeed implemented. And it is listed in bookmark_template.php.

    wp_list_bookmarks('show_description=1');

    It’s not working on my site. Is there a argument dependency that I’m not fulfilling? Here is what I am using in my template:

    <?php wp_list_bookmarks(‘category=26&categorize=0&orderby=rand&show_images=0&show_description=1&title_li’); ?>

    I got the descriptions to show up. Now, how can I get my description on a different line than the link?

    Example

    Great Link
    description about great link
    Link 2
    here’s what link 2 is about

    Resolved! Use:

    &between=

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    That would be between=<br />, correct?

    jzahlaway

    (@jzahlaway)

    DrAxeman: “I got the descriptions to show up.”

    Great! How ’bout telling the rest of us shlubs how you did it, since that’s the point of the thread?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    jzahlaway: I told him exactly how to do it above:
    wp_list_bookmarks('show_description=1');

    It’s very easy, really.

    jzahlaway

    (@jzahlaway)

    Otto42: jzahlaway: I told him exactly how to do it above:
    wp_list_bookmarks(‘show_description=1’);

    It’s very easy, really.

    I will admit that I may have far less knowledge than everyone else who reads these boards (though, the multiple, similar, unresolved threads on this topic that I’ve found would suggest otherwise), so forgive me for feeling that posting nothing more than “wp_list_bookmarks(‘show_description=1’);” doesn’t explain “exactly” how to do it. I figured it out on my own, and if I were asked “exactly” how I did it, I’d describe it like this:

    1.) Go into wp-content/themes/[theme you’re using]/ and open the sidebar.php file.

    2.) Find the line “<?php get_links_list(); ?>” if you are using a pre-WordPress 2.1.x “sidebar.php” file, or find the line “<?php wp_list_bookmarks(); ?>” if you are using a 2.1.x version of the “sidebar.php” file.

    3.) Replace the respective line described in step #2 with “wp_list_bookmarks(‘show_description=1’)”

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Well, if I had to explain that every single time I answered a question, I’d probably kill somebody. Do you want me to explain how to use a web browser too? Perhaps you want an explanation of how the mouse makes the cursor move around the screen?

    If you didn’t know how to edit things in your sidebar, then you should have asked how to do that instead.

    jzahlaway

    (@jzahlaway)

    Otto42: Well, if I had to explain that every single time I answered a question, I’d probably kill somebody. Do you want me to explain how to use a web browser too? Perhaps you want an explanation of how the mouse makes the cursor move around the screen?

    Yeah, because not knowing how to move a mouse around the screen or use a web browser is definitely a perfect analogy for not knowing where to find a specific line of PHP code that needs to be replaced.

    Otto42: If you didn’t know how to edit things in your sidebar, then you should have asked how to do that instead.

    Actually, my point was that I do know how to edit things in my sidebar; I just didn’t know what exactly needed to be edited … which, again, it would appear from the multiple unresolved threads on this very topic is a not-so-unique situation.

    That would be &between=<br>, correct?

    Yes – correct

    < br / > ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Blogroll descriptions not displaying in 2.1’ is closed to new replies.