Title: Custom Post Template By Templatic
Author: templatic1
Published: <strong>juni 2, 2016</strong>
Last modified: oktober 27, 2018

---

Search plugins

![](https://ps.w.org/templatic-singletemplate/assets/banner-772x250.jpg?rev=1429043)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/templatic-singletemplate/assets/icon-128x128.jpg?rev=1436917)

# Custom Post Template By Templatic

 By [templatic1](https://profiles.wordpress.org/templatic1/)

[Download](https://downloads.wordpress.org/plugin/templatic-singletemplate.zip)

 * [Details](https://fao.wordpress.org/plugins/templatic-singletemplate/#description)
 * [Reviews](https://fao.wordpress.org/plugins/templatic-singletemplate/#reviews)
 *  [Installation](https://fao.wordpress.org/plugins/templatic-singletemplate/#installation)
 * [Development](https://fao.wordpress.org/plugins/templatic-singletemplate/#developers)

 [Support](https://wordpress.org/support/plugin/templatic-singletemplate/)

## Description

The [Templatic](http://templatic.com/) Single Template plugin provides the ability
for your theme to include ” Post Templates ” in much the same way you add ” Page
Templates “, this will allow you to choose (via a simple dropdown) which post template
you want to use, on a per-post basis.

All you need to do after installing and activating the plugin is to create one or
more ” Post Templates ” in your theme’s folder, when creating or editing a post,
choose the post template that you would like to use. If no post template is selected,
the default template will be used. See the [Custom Post Template by Templatic](https://templatic.com/news/free-custom-post-template-wordpress-plugin-released/)
for further Information.

Ever since our site launch, templatic website has always been built on top of WordPress.
The site has a unique homepage, blog, club page, different kind of product galleries,
and best of all, unique sales pages for different kind of products. Our site has
hundreds of blog posts, product sales pages with custom fields, custom pages, specially
designed product archives and many other custom built functionality.

So how do we do it on a standard WordPress install? Custom Post Template is the 
answer.

For the unique homepage, club page, themes, and plugin gallery and other pages, 
we used WordPress standard homepage.php and custom page templates, archive PHP files
with some custom and dynamic code built in. No problems there. It required some 
clever coding but overall, it is achievable.

But how do we manage custom sales pages for all the products?

With having 80+ themes, 40+ plugins and many of them requiring unique sales page
design, it becomes a challenge even to manage things in the wp-admin.

The standard way to have a unique page design is to use a page template. But we 
can not have standard WordPress pages like about page and hundreds of pages for 
a product, all mixed up. It becomes messy and chaotic to organise things.

To organise things, we built the custom taxonomy for products.

In order to keep our blog posts and pages separate, we created a new taxonomy called
Product. This helps us add all the products as a standard WordPress post and keeps
it in a separate section. Chaos organised.

How do we show unique sales page templates for different products then?
 If you 
look around, you will notice different sales page for different products. For example,
sales pages for our directory theme, e-commerce theme, a portfolio theme, free WordPress
theme, a plugin and other sales pages are designed and structured differently.

So how did we do this? Well, we created a custom plugin for this. A plugin that 
lets us create a custom post template for custom post type (or call it single post
template for taxonomy) and assign it to any post in that particular taxonomy. Cool
ha?
 Now you can have it too. Free Custom Post Template WordPress plugin is released.

How to use this plugin?

 1. Download this Free Custom Post Template WordPress Plugin from above link.
 2. Connect to your WordPress dashboard (wp-admin) and navigate to Plugins >> Add New
    Plugin >> Upload Plugin >> Now upload the downloaded (Templatic-SingleTemplate.
    zip) file >> Click on Install Now.
 3. Once you install this plugin successfully, click on Activate Plugin .
 4. After activating the plugin you will need to create some Post Templates to use.
    In order to create a Post Template, either duplicate your default single post template,
    or create a new template file. Insert [this](http://snippi.com/s/25qybqq) code 
    at the very top of the file.

Add the code as mentioned above at the top of a new file.

Now when you visit any post in your wp-admin area, you should be able to see a small
post template box in the sidebar will let you select WordPress article template.

In the drop down, the template you just added will be available. Simply select it.

Now your post will show this new template instead of the regular WordPress post 
design.

Also, works with WooCommerce
 Yes, if you are using WooCommerce to sell products
and want to design a special product page for a specific product, its possible. 
This plugin will work with WooCommerce as well.

You can do wonders with it.
 This is a simple plugin but the possibility is endless.
If you combine custom fields with the template, you can do wonders with it. Any 
kind of design for any of your posts in your site is possible.

So, go give it a try and let us know how you like it.

## Screenshots

 * [[
 * This is what the top of your new Post Type Templates should look like
 * [[
 * This is the new box that this plugin adds to your post edit screen

## Installation

**Installation**

 1. Upload the entire ‘Templatic-SingleTemplate’ folder to the ‘/wp-content/plugins/’
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create Post Type Templates in your theme’s folder, as described in Usage

**Usage**

After you have installed the plugin, you’ll need to create some Post Templates to
use. In order to create a Post Template, either duplicate your default single post
template, or create a new template file. Insert the following code at the very top
of the file:

_See Screenshot #1 for what this might look like in your code editor_

Once you have created a new Post Template, either edit or create a new post, and
directly underneath the post content box, you should see a new box labeled ” Post
Detail Template “. Choose the Post Template you want to use and publish or update
the post or any custom post type too.

_See Screenshot #2 for what this might look like on your post edit screen_

## FAQ

  How do I create new Post Type Templates?

Please see the Usage section in Installation for details on how to create new Post
Type Templates.

  How do I use the Post Type Templates I created?

Please see the Usage section in Installation for details on how to use Post Type
Templates.

  Can I include this plugin in my theme for distribution?

Yes. Source credits for the plugin should remain intact, per GPL requirements.

  How to include or exclude template option for different post type

Yes. You can by using ‘ tmpl_unset_post_type ‘ filter as per WordPress.

## Reviews

![](https://secure.gravatar.com/avatar/f5ea3061ac0806257f55eb3724144fbf3381750530da2934c111efb20703242a?
s=60&d=retro&r=g)

### 󠀁[major bug](https://wordpress.org/support/topic/major-bug-4/)󠁿

 [M](https://profiles.wordpress.org/angelxchild/) desember 13, 2018 1 reply

It does add the page template dropdown for your custom post types, and selecting
it will change the template accordingly. However, if you leave the selection as 
default, the template will default to index.php instead of single-customposttype.
php, so you are now forced to select a template for all your custom post types.

![](https://secure.gravatar.com/avatar/0cd9f80f68e1164fc130f0dd050c0cb0bb9e318e05658f7f4ce0869721470241?
s=60&d=retro&r=g)

### 󠀁[Could not get this to work](https://wordpress.org/support/topic/could-not-get-this-to-work-3/)󠁿

 [braed](https://profiles.wordpress.org/braed/) apríl 1, 2017 6 replies

Perhaps i added the comment to the wrong file? I added it to single.php since i 
wanted to use this with Pages, not Posts. Is that possible? If you solve this, i
will adjust my rating. Thanks!

![](https://secure.gravatar.com/avatar/8bb241ab68c7ada7259d7ea3717d1a5c21f11bce9db676f3c0f9577951d6183d?
s=60&d=retro&r=g)

### 󠀁[Works Perfectly](https://wordpress.org/support/topic/works-perfectly-1106/)󠁿

 [gbever](https://profiles.wordpress.org/gbever/) mars 16, 2017

This was just the plugin I needed to allow me to offer multiple post layouts for
a single site. I was not able to find anything else quite like it.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/templatic-singletemplate/reviews/)

## Contributors & Developers

“Custom Post Template By Templatic” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ templatic1 ](https://profiles.wordpress.org/templatic1/)
 *   [ rbhavesh ](https://profiles.wordpress.org/rbhavesh/)

[Translate “Custom Post Template By Templatic” into your language.](https://translate.wordpress.org/projects/wp-plugins/templatic-singletemplate)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/templatic-singletemplate/),
check out the [SVN repository](https://plugins.svn.wordpress.org/templatic-singletemplate/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/templatic-singletemplate/)
by [RSS](https://plugins.trac.wordpress.org/log/templatic-singletemplate/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial Release

## Meta

 *  Version **1.1**
 *  Last updated **7 ár ago**
 *  Active installations **600+**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **5.0.25**
 *  Language
 * [English (US)](https://wordpress.org/plugins/templatic-singletemplate/)
 * Tags
 * [single post templates](https://fao.wordpress.org/plugins/tags/single-post-templates/)
   [single posts](https://fao.wordpress.org/plugins/tags/single-posts/)[templatic](https://fao.wordpress.org/plugins/tags/templatic/)
 *  [Advanced View](https://fao.wordpress.org/plugins/templatic-singletemplate/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/templatic-singletemplate/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/templatic-singletemplate/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/templatic-singletemplate/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/templatic-singletemplate/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/templatic-singletemplate/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/templatic-singletemplate/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/templatic-singletemplate/reviews/)

## Contributors

 *   [ templatic1 ](https://profiles.wordpress.org/templatic1/)
 *   [ rbhavesh ](https://profiles.wordpress.org/rbhavesh/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/templatic-singletemplate/)