The Custom Post Templates Plugin allows you to give individual posts their own template. To give the post with ID 3 its own template, add single-3.php to your theme. This plugin can be modified to do a number of additional tricks. Example code is provided if you want to give posts belonging to a certain category their own template.
11 thoughts on “Custom Post Templates Plugin”
Comments are closed.
Aherm…
Haven’t written it up yet because I’m working on allowing you to set per-category post templates.
Are you planning on hosting your plugins on http://wp-plugins.org ? And/or will you be updating the Plugins section on your WordPress Page
?
Yes and yes.
I’ve made a couple of changes to this plugin that you might be interested in. In my version, you can also set the units the count is good for (days or posts), and it installs an options panel to let you set your preferences, rather than having to edit the code.
You can find it here: http://singlenesia.com/software/#wpplugins
Nice buddy, thanks for sharing.