Custom Post Templates Plugin
March 13, 2005
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 Comments
Trackbacks
- 冰古Blog » Blog Archive » 有关wordpress theme的Tips 和 hack
- guff » Post Templates by Category
- Wordpress - How Do I Assign Posts from A Category A Different Template? - WickedFire - Affiliate Marketing Forum - Internet Marketing Webmaster SEO Forum
- Transforming Your WordPress into a Tumble-Hybrid | Lo-Fi Tribe
- Customizing Individual Categories and Posts : Jane Consumer
- Custom Category and Post Templates
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.