Support » Fixing WordPress » Show link description.
8 years, 9 months 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.
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.
8 years, 5 months ago
What if you are using a Widget and you are on version 2.6.2?
8 years, 4 months 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
<div class=”special”>This is the description</div>