WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blogroll descriptions not displaying in 2.1 (15 posts)

  1. Ciryaquen
    Member
    Posted 7 years ago #

    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.

  2. Ciryaquen
    Member
    Posted 7 years ago #

    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!

  3. DrAxeman
    Member
    Posted 7 years ago #

    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?

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

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

    wp_list_bookmarks('show_description=1');

  5. DrAxeman
    Member
    Posted 7 years ago #

    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'); ?>

  6. DrAxeman
    Member
    Posted 7 years ago #

    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

  7. DrAxeman
    Member
    Posted 7 years ago #

    Resolved! Use:

    &between=

  8. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

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

  9. jzahlaway
    Member
    Posted 7 years ago #

    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?

  10. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

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

    It's very easy, really.

  11. jzahlaway
    Member
    Posted 7 years ago #

    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')"

  12. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    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.

  13. jzahlaway
    Member
    Posted 7 years ago #

    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.

  14. gamma911
    Member
    Posted 7 years ago #

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

    Yes - correct

  15. feverinlove
    Member
    Posted 7 years ago #

    < br / > :D

Topic Closed

This topic has been closed to new replies.

About this Topic