WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Custom Post Template

Provides a drop-down to select different templates for posts from the post edit screen. The templates replace single.php for the specified post.

v1.5 2012/06/14

This upgrade REQUIRES WordPress version 3.4 and WILL NOT WORK WITHOUT IT.

  • Updated for compatibility with 3.4, takes advantage of the new WP_Theme class and methods and the get_file_data function.

v1.4 2011/08/14

  • Added a filter, cpt_post_types, so people can choose which post types this plugin shows the UI for
  • Linked to WP.org, not my site, for documentation (quicker to load)

v1.3 2010/06/17

Dear Non-English Custom Post Template Users,

This release includes the facility for Custom Post Template to be translated into languages other than English. Please contact me if you want to translate Custom Post Template into your language.

Sorry it took so long.

  • ENHANCEMENT: Now works with child themes, hat-tip Kathy
  • LOCALISATION: Now ready for localisation!

v1.2 2010/04/28

  • ENHANCEMENT: Now sporting a conditional is_post_template function/template tag which is functionally equivalent to the core WordPress is_page_template conditional function/template tag
  • ENHANCEMENT: If the theme uses the core WordPress (body_class)[http://codex.wordpress.org/Template_Tags/body_class] template tag, then you will have two new classes added: "post-template" and "post-template-my-post-template-php" (where your post template file is named "my-post-template.php").

v1.1 2010/01/27

  • IDIOTFIX: Managed to revert to an old version somehow, this version should fix that.

v1 2010/01/15 (released 2010/01/26)

  • BUGFIX: Theme templates now come with a complete filepath, so no need to add WP_CONTENT_DIR constant to the beginning.
  • ENHANCEMENT: Metabox now shows up on the side, under the publish box... where you'd expect.
  • Plugin initially produced on behalf of Words & Pictures.

v0.9b 2008/11/26

  • Plugin first released

v0.91b 2008/11/28

  • BUGFIX: The plugin was breaking posts using the "default" template, this is now fixed. Apologies for the inconvenience.
  • Tested up to WordPress 2.7-beta3-9922

v0.91b 2008/11/28

  • BUGFIX: The plugin was breaking posts using the "default" template, this is now fixed. Apologies for the inconvenience.
  • Tested up to WordPress 2.7-beta3-9922* Tested up to WordPress 2.7-beta3-9922

v0.92b 2008/12/04

  • Minor code tweaks
  • Blocked direct access to templates

Requires: 3.4 or higher
Compatible up to: 3.4.2
Last Updated: 2012-6-14
Downloads: 153,088

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

50,2,1 0,1,0
100,4,4
7,14,1
36,14,5 0,1,0 100,1,1
100,1,1 43,7,3 50,2,1
100,1,1 86,7,6
75,4,3
100,1,1
100,3,3 100,1,1
0,1,0
40,5,2
100,3,3
0,1,0
50,2,1
100,1,1 100,1,1
100,2,2
100,4,4 85,13,11
0,1,0 100,6,6
100,8,8 0,1,0
100,4,4
0,1,0 100,2,2
89,9,8
100,13,13
100,1,1
88,8,7
100,1,1
100,1,1
100,3,3
100,2,2
100,1,1