WordPress.org

Ready to get started?Download WordPress

Forums

Show link description. (4 posts)

  1. quacktacular.net
    Member
    Posted 6 years ago #

    I want to show my links with their descriptions in my sidebar. Can this be done?

    I'm using K2 on 2.5.1.

  2. Vaughan
    Member
    Posted 6 years ago #

    Hi,

    In your sidebar.php template file, you will need to add/modify the following template tag to display all your links and show their descriptions:

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

    Hope that helps.
    Vaughan

  3. lesliekirk
    Member
    Posted 5 years ago #

    What if you are using a Widget and you are on version 2.6.2?

    Thanks,
    Leslie

  4. nina99
    Member
    Posted 5 years ago #

    Adding show_description=1 displays the description, but how do I add code before or after the description.

    For example, instead of this:
    Link This is the description

    I might want it to look like this:
    Link -- This is the description

    or this:
    Link
    <div class="special">This is the description</div>

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic