19/11/2017

The archive contains older posts which may no longer reflect my current views.

# Liked: Command-E - All this...

”Select the text you want to search for and hit ⌘E. That turns the selection into the search text, and you can go straight to ⌘G to walk through all the other occurrences.”

Well, I didn’t know about this keyboard shortcut. I can imagine it coming in very handy, especially in longer pieces.

6 comments: click to read or leave your own Comments

# 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!