Tag: Ryan Sholin

WordPress link blog plugin

On Kommons Ryan Sholin asked me how I created a link blog option on one of my old themes for this site. Ryan was looking for a way to redirect post permalinks to a specific URL like the Daring Fireball linked list.

I whipped up a quick WordPress plugin, unimaginatively called WP Linkblog, that will do just that. It looks for a custom field titled linkblog_url and if that exists filters the permalink to redirect to that URL.

By default the plugin filters both RSS items and the_permalink in the theme. To remove the redirection on your site just remove add_filter('post_link', 'wplinkblog_permalink')

Find the whole thing over on Github. Enjoy Ryan!