Custom Post Template

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.
Rating:
4.8
star-rating-1star-rating-2star-rating-3star-rating-4star-rating-5
Active Installations:
10000+
Last Updated:
Nov 28, 2017
WordPress Version:
3.4 or higher
Tested up to:
3.4.2

Custom Post Templates

Easily select different templates for posts from the post edit screen.

Replace single.php

Replace the default template for single posts with a custom template of your choice.

Works with any theme

Use post templates with any WordPress theme without any compatibility issues.

Developer-friendly

Easily implement custom post templates for specific post types using a simple filter.

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)[https://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

5 years of working right

By willwenzel on February 15, 2018

This plugin works so well I forget we're using it. We've got a few different post templates depending on the content we have, and this plugin makes it easy to choose the right one. I wish it worked for archive pages too!

Forever sleep well , sundown 2021

By metaeditor on March 19, 2021

So many years this plugin worked like a charm for many custom templates Now it looks like its finally gone . Thanks for this great Plugin. This (was) a must-have Plugin, even after getting old it still works like a charm

Perfect

By lh822184 on January 7, 2017

I was a little hesitant to install a plugin that hasn't been updated for this long, but it works perfect. Quick and easy to set up.

Still working

By Glenn (layoutph) on November 2, 2016

amazing.. The best plugin if you want to create different design for every landing pages.

Good job!

By Filip Albert (alberfil) on September 3, 2016

It works great for me. Even after such a long time of not being maintained. Thank you for this plugin.

Still Great

By KevinX (designcat) on September 3, 2016

Easy to use and on most of my pages =)

Still works, still wonderful!

By afedyk on September 3, 2016

It's beautiful in it's simplicity.

Thanks Simon

By seemax on September 3, 2016

Works for me. I got rid of headache how to have access to custom templates alike having access to custom pages

Still works great with ACF's plugin

By shaunvine on September 3, 2016

Just added this nice plugin and works great. I now have 2 templates to choose from for my custom post type.

Thanks so much!

Still Going After All These Years

By Flash Buddy (FlashBuddy) on September 3, 2016

I remembered this gem from years ago and took the time to deploy it on a new Divi site I developed, where the GIANT FEATURED IMAGE was driving me crazy. ERGO, I easily created a template by modifying single.php in my child theme folder, activated this plugin and VOILA! It works.

Try other plugins too!

Download Theme

Download any theme from your wordpress admin panel's Appearance page by just one click!

Try Demo More Details

Hide Featured Image

To Hide Featured Image on single post/page.

Try Demo More Details

Add From Server

Add From Server is designed to help ease the pain of bad web hosts, allowing you to upload files via FTP or SSH and later import them into WordPress.

Try Demo More Details
Author Site Author Site

Try Custom Post Template With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.