WP Custom Post Template Redux

plugin banner

This is a forked version of dotsquares' WP Post Template plugin. It allows theme authors to create a post template as well as page template for t

Author:Morgan and Morgan (and work from the original forked plugin by dotsquares.com) (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:4.5.32
Plugin version:1.4.3
Added to WordPress repository:09-07-2016
Last updated:11-07-2016
Warning! This plugin has not 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.
Rating, %:0
Rated by:0
Plugin URI:http://www.forthepeople.com
Total downloads:2 235
Active installs:20+
plugin download
Click to start download
  • This plugin lets you add the custom post templates in your WordPress custom post type. You can easily apply your custom post template in custom post type posts, just as you would do the same for page templates.

  • The templates are defined similarly to page templates, and if selected will replace single-cpt-slug.php (see template hierarchy https://developer.wordpress.org/themes/basics/template-hierarchy/) for the specified post.

  • Admin can use default setting for the custom post type plugin by simply clicking on default setting button.

Implementation notes:

  • Page templates use, in the comments at the top of the file “Template Name:”, whereas to use this plugin’s custom post templates use “WP Post Template: my-post-type-slug” — you can combine page templates and custom post type templates by just adding the applicable comments to the PHP file.

  • CPT templates use “WP Post Type:” plus the custom post type slug, e.g. “WP Post Type: my-fun-post-type” you can use a single template for multiple post types – if you leave it blank it will be available to all post types, which will maintain compatibility with WP Custom Post Template 1.0.

  • You must have store the custom post template files in your theme in the same directory/folder as your index.php template file, not in a sub-directory/sub-folder.

Features

  • Select custom post type where you need to show the post template.

  • Select default setting to show post template in your theme default post type.

  • You can add Advanced Custom Fields field groups based on the Custom Post Template chosen


Screenshots
FAQ
ChangeLog