With the introduction of format types in WordPress, the ability to post “Link” posts or “Gallery” posts , etc. became something you could do out of the box. But if you’ve ever wanted to give different posts a style of your own, then the Custom Post Template plugin makes it easy.
1. After installing and activating the plugin, you will need to create a new custom post template.
2. On your server, go to your theme’s folder.
3. Create a new file and name it whatever you like followed by .php. In my case, I named it “test” (test.php).
4. Find the file in your theme for your single post pages (most likely named single.php).
5. Open that and copy it.
6. Paste that code into the new file you’ve just made (test.php).
7. At the top of that file (before the code you’ve just pasted), put the following:
<?php /* Template Name Posts: Test */ ?>
You can name it whatever you like. I have named mine “Test.”
8. Change the rest of the file in whatever way you like to make it unique and save it. For a quick test, I simply added some text.
Creating a New Post
When you create a new post, you should now see a new box near the bottom of the right-hand column labeled “Post Template.” This will provide a pull-down menu of all the different post templates you’ve made.
Choose whichever you like and make your post. Your new post should now be styled in the manner you determined in your post template.
(Thanks to pshutterbug for the image.)
Why 100 is NOT a Perfect Google PageSpeed Score (*5 Min Watch)
Learn how to use Google PageSpeed Insights to set realistic goals, improve site speed, and why aiming for a perfect 100 is the WRONG goal.