wp_list_bookmarks() – how to show link *category* description
-
Hi all,
I’ve got the following code:
<?php wp_list_bookmarks('title_li=&categorize=1&show_description=1&between=<br />'); ?>
Which is producing this:
<ul class="widget_container" id="list_bookmarks"> <li class="linkcat" id="linkcat-1"><h2>Link category title 1</h2> <ul class="xoxo blogroll"> <li><a title="Description" href="https://www.link.uk">LinkName</a><br>Description</li> <li><a title="Description" href="https://www.link.uk">LinkName</a><br>Description</li> </ul> </li> <li class="linkcat" id="linkcat-2"><h2>Link category title 2</h2> <ul class="xoxo blogroll"> <li><a title="Description" href="https://www.link.uk">LinkName</a><br>Description</li> <li><a title="Description" href="https://www.link.uk">LinkName</a><br>Description</li> </ul> </li> </ul>
Which is all great. The ‘categorize=1&show_description=1’ refers to the Link category title and the description of the individual links, however, I want to insert the link *category* description below the Link category title and can’t find a way to do that.
Can anyone help? Considering WP offers a way to write a link category description, I’m sure it must serve a purpose right?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp_list_bookmarks() – how to show link *category* description’ is closed to new replies.