Rating: 5 stars
If you’ve ever successfully made a page template in WordPress, you’ll be able to do the same thing for posts using this plugin. Excellent.
]]>Rating: 3 stars
Thank you for this Dev for easy life.
]]>Rating: 5 stars
Thanks for this amazing plugin.
Worked fine in 4.8
Not so easy to set up if you don′t know a little a bit about php and/or programming.
Rating: 1 star
I organise my templates in a specific directory and this doesn’t work with this plugin, as you require me to have them in the top level theme directory.
Second point, you add clutter to the admin menus, by having the plugin’s own menu. You should have put this in the settings area, as you only have 2 settings…
]]>Rating: 5 stars
.
]]>Rating: 5 stars
Thks so much
]]>Rating: 1 star
Won’t work with the newest version of WP (4.4.2) using a Child Theme. Drop down menu doesn’t appear on the edit Post page.
]]>Rating: 5 stars
Works great! Thanks!
]]>Rating: 5 stars
Hello to the developer, can you please kindly check if there is an issue with the plugin. Suddenly the post templates are not showing.
Here is the screenshot on my backend
https://scontent-lax3-1.xx.fbcdn.net/hphotos-xfl1/v/t1.0-9/12391857_938763546213722_7782831594722735277_n.jpg?oh=f8c2a388b98cab2b76723d3d7481607b&oe=571B6FF2
Hope that you can help.
Thanks
]]>Rating: 5 stars
Thanks for the info. You say, “Create your new template layout. This is where you need some skills. I might be nice and write a little tutorial about all this if anyone expresses interest.”
I am interested in your tutorial.
I, like another person who commented, need to use this with a child theme.
Any more info on how to make that work?
Thanks again for the great info.
]]>Rating: 5 stars
This is a wonderful little time saving plug-in. However, it’s really intended for folks who know a little PHP coding. If you use Advanced Custom Fields, this is a gem. If you don’t use Advanced Custom Fields, you should. It is so awesome. Once you climb the learning curve, you’ll be amazed at how quickly you can develop complete, custom and eye catching WordPress Themes and Templates. Anyway, I digress.
The documentation isn’t really “bad” so much as it assumes the end user knows his way around WordPress. In addition, there is some code in the plugin that needs to be changed as it is deprecated. It’s mentioned in other posts here. I’ll get to all of it.
To get this to work, follow these steps:
–> Step 1
First, you need to update the plugin code as explained by super powered in an earlier post. It’s easy. Takes seconds. You can install the plug-in and edit these lines in the Admin panel.
…………………
From super powered —
But if your using WordPress 4.1 youll need to change 3 lines of code in the plugin file, since get_themes() & get_current_themes() were both depricated.
It’s rather simple:
wp_content>plugins>wp-custom-post-template>wp-custom-post-template.php
On lines 85, 86 & 87 change:
$themes = get_themes();
$theme = get_current_theme();
$templates = $themes[$theme][‘Template Files’];
to:
$themes = wp_get_themes();
$theme = wp_get_theme();
$templates = $theme[‘Template Files’];
—————————-
–> Step 2
You need to create a new template page with the WP Post Template: tag and upload it to the ROOT of your THEME FOLDER.
Template tag has the following format:
<?php
/* WP Post Template: Name of New Template */
?>
Note that “WP Post Template” must proceed the name of your new template.
–> Step 3
Create your new template layout. This is where you need some skills. I might be nice and write a little tutorial about all this if anyone expresses interest.
–> Step 4
Name and save your new template page. I name my post template pages sort of like this — “Post_Template_for_Events.php ” and upload it to the ROOT of your Theme Folder. This is probably what is confusing most folks. You can tweak the code to specify a new theme folder for your posts. But, I won’t get into that. However, I do like to keep things tidy and everything in it’s place.
–> Step 5
Now you should see the new template in the drop down.
Little Starter Page Example Below.
——————————–
<?php
/* WP Post Template: My Custom Template Name */
?>
<?php get_header(CustomHeader); ?>
…. Your layout Here ….
<?php get_footer(CustomFooter); ?>
———————
Hope this makes sense to someone.
Showing some love from New Orleans
Mark
———————————-
]]>Rating: 1 star
Agree with donpro. Created templates based on single.php, then inserted “WP Post Template:” as required, but still the dropdowns are empty.
]]>Rating: 1 star
After installing and making changes for WP 4.22 compatibility, the drop-down lists for posts are empty.
While I admit I am probably missing something, the instructions are vague and it seems this plugin is no longer supported. Great idea but good luck getting it to work.
]]>Rating: 5 stars
Thank you!
]]>Rating: 4 stars
Works great.
But if your using WordPress 4.1 youll need to change 3 lines of code in the plugin file, since get_themes() & get_current_themes() were both depricated.
It’s rather simple:
wp_content>plugins>wp-custom-post-template>wp-custom-post-template.php
On lines 85, 86 & 87 change:
$themes = get_themes();
$theme = get_current_theme();
$templates = $themes[$theme][‘Template Files’];
to:
$themes = wp_get_themes();
$theme = wp_get_theme();
$templates = $theme[‘Template Files’];
Hope this helps someone ^.^
]]>Rating: 5 stars
Hi,
This is one of the easiest and the best plug-in I have used for my website development.
The code written in it is very sorted and managed. I can say this as, it never conflicted any of my WordPress code.
It did fulfill my requirement in one go. It is not only for a default post type but also fits well for any custom post types which one creates on the website.
Eager to see what the developer has if they come up with the next update of the plug-in.
Amazing!
Thanks for sharing.
Regards,
Saurabh.
Rating: 5 stars
Man this plugin is the boom work so well and easy to use ??
]]>Rating: 1 star
There are no instructions. I don’t see how to use this.
]]>Rating: 5 stars
When WP_DEBUG set to TRUE:
Notice: get_themes está obsoleto desde la versión 3.4. Utiliza wp_get_themes() en su lugar. in /var/www/wp-includes/functions.php on line 3078 Notice: get_current_theme está obsoleto desde la versión 3.4. Utiliza wp_get_theme() en su lugar. in /var/www/wp-includes/functions.php on line 3078
Thanks for your plugin.
]]>Rating: 5 stars
I have created a file called ‘post-articles.php’ in the folder where I have index.php and pasted the below at top of the document.
<?php
/*
Single Post Template: Articles
*/
?>
but it still doesnt show up in the dropdown.. What am I missing? Please suggest.
Thank you.
]]>Rating: 5 stars
Its very nice plugin…… have done my requirment as i need Thanks men
]]>Rating: 5 stars
Exactly what I was looking for my site….Awesome plugin..
]]>Rating: 5 stars
I had been using the “Custom Post Templates” plugin for this, but it hasn’t been updated in awhile. Installed this and had it working in 5 minutes. Great plugin, thanks!
]]>Rating: 5 stars
works well.
]]>Rating: 4 stars
works well, not just for posts, but any custom post type that you define. All that’s required is following the convention in the comments at the top of your template files, place them in the correct location, and away you go.
]]>Rating: 5 stars
Ideal for my needs.
]]>Rating: 5 stars
Exactly what I was looking for!
]]>Rating: 5 stars
I tried with others plugins without luck, finally this one was the solution to apply custom post templates to my theme. I’m very satisfied.
]]>