Mike Haynes has implemented the blogroll plugin on his blog and all appears to be working nicely.

Mike wanted to display the entries alphabetically, this would be achieved by editing the query in the shortcode. Adding 'orderby' => 'title', to the $args array should do it. The array (line 47 of br_shortcode.php) would then look like this:

    $args = array(
        'order'  => 'ASC',
        'orderby' => 'title',
        'post_type' => 'blogroll',
    );

The query could, thus, be edited in any way you see fit - especially if you wanted to add categories as mentioned in the readme.

It’s equally flattering and gratifying when someone chooses to use something I’ve made. Thanks Mike!

Leave a Reply

Your email address will not be published.