WordPress Single Post Templates — Nathan Rice. If you're customizing a WordPress theme with different templates, you probably know you can create templates specific to different categories. But when the user clicks the post, the single.php file template loads. By default, you can't use different single.php files in the same way that you can with category templates. The script on this site allows you to add a little snippet of code to functions.php so that your single.php file can be templated like category.php.
Get new posts delivered straight to your inbox.
I'm a technical writer based in the California San Francisco Bay area. Topics I write about on this blog include technical writing, authoring and publishing tools, API documentation, tech comm trends, visual communication, technical writing career advice, information architecture and findability, developer documentation, and more. If you're a professional or aspiring technical writer, be sure to subscribe to email updates using the form above. You can learn more about me here.