Full stack web developer, interested in all the things, but especially the web, code, design, Linux, OS X, PHP, WordPress, JavaScript & robots.

A Custom Post Type For Links

Tonight, I pushed a commit to my WordPress theme to include a new custom post type and taxonomy. The custom post type is ‘link’ and I’ve included it so that I can create short-form posts that link to some of the interesting content I come across on a daily basis.

Before I did this, I thought about whether or not I needed a custom post type. I mean, I could just use a category, or post format, but I figure that a custom post type will provide better separation, and the separation will possibly provide more options for front-end customisation. That said, I’m not entirely convinced of this, so I think I’ll see how well it works, and then decide if I keep it or not.

Talking of the front-end, I’ve not coded the custom post type templates, yet, but I’ll probably do that next.

Leave a comment

Your email address will not be published. Required fields are marked *