SDAC Blog

Check out our blog for WordPress updates, WordPress plugin reviews, and general web development hints.

hr
hr

For a no-nonsense way to set the order of your Blogroll links within Wordpress, place a numeric value in either the description or notes field then set up the wp_list_bookmarks function to order by that value. Make sure numbers that are < 10 are put in as two digits (01, 02, 03). This is not ideal, but it is quick and easy...and it works.

Once you added in the links to the Blogroll admin, use the following function: wp_list_bookmarks to display your links on your site. The following example will list all links and order them by the value in the description field. The output will not have "blogroll" nor the link category headings. For more information, check out the wp_list_bookmarks documentation.

PHP:
<?php wp_list_bookmarks('title_li=&orderby=description&order=ASC&categorize=0'); ?>

hr

Comments/Pingbacks/Trackbacks

Add a Comment or trackback from your own site.

Leave a Reply

separate