4 16

Display Wordpress Blogroll Links By Category

Want to display your blogroll but maybe just a certain CATEGORY only? Such as ‘affiliate links’ or ‘friends’….

It’s easy.

1. Locate the category ID number by going into the Link manager in Wordpress and hovering over the category name. That should show you the ID. If that doesn’t work, click on the category name and the ID is the number at the end of the URL.

2. Find the code that displays the bookmarks. It should look like this:

<?php wp_list_bookmarks(''); ?>

3. Edit that code to choose the Category ID that you want to display:

<?php wp_list_bookmarks(‘category=766′); ?>

That’s it!