WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_bookmarks and description (3 posts)

  1. Isa_h
    Member
    Posted 6 years ago #

    I'm trying to display bookmarks from 3 categories and include the link description.

    1) When I use:
    <?php wp_list_bookmarks('show_description=1'); ?>
    it works fine, and I get the description of all the links in all categories in the Blogroll

    2) When I use:
    <?php wp_list_bookmarks('category=275,276,277'); ?>
    it works fine too. I get only the links in categories 275, 276 and 277 without the description

    But, if I try:
    <?php wp_list_bookmarks('show_description=1&category=275,276,277'); ?>
    I get all the categories and the links description, just like in 1)

    I also tried using:
    <?php wp_list_bookmarks('category=275,276,277&show_description=1'); ?>
    but all I get are the links in those 3 categories without the description, like in 2)

    How can I get both the categories and the link descriptions?

  2. MichaelH
    Member
    Posted 6 years ago #

    Works okay for me using the WordPress Default 1.6 Theme, where I put two links in Link Category that has ID=14

    <?php wp_list_bookmarks('category=14&show_description=1'); ?>

    Here the 'source' from the display

    <li><a href="http://wordpress.org/development/" title="Development Blog Description">Development Blog</a>
    Development Blog Description</li>
    <li><a href="http://wordpress.org/extend/plugins/" title="Plugin description">Plugins</a>
    Plugin description</li>
  3. mike62
    Member
    Posted 5 years ago #

    Is there a way to have the description show up next to the link, as plain text, rather than as a title tag?

Topic Closed

This topic has been closed to new replies.

About this Topic