Post 10 – Theme Template Test

What Are Custom Post Templates?

For those of you who are not familiar with the Single Post Template yet, the single post determines the layout of your blog posts.

Custom single post templates enable you to use different layouts for different blog posts — allowing you to apply different designs to specific posts. For example, think of a barber’s website. You could use different templates for review posts, news posts, sale posts, case study posts, etc.

With Elementor, you can use dynamic widgets to build the blog post template. And, to make it easier to design live, you can preview the template with any of your previously created blog posts. This way, all the dynamic widgets get populated with actual content from your site. Here is an article explaining how to use a single post template.

Even after you publish a single template, you can access any specific blog post that uses the template and design it further with Elementor.

How To Manually Create Custom Post Templates in WordPress

To create custom post templates in WordPress manually, you will need to be an advanced user with knowledge of coding, CSS, and WordPress file manipulation. This method is not advised for beginners.

Before you continue, we recommend that you make sure you are using a child theme so as not to mess up your current theme and have a default theme to go back to.

1. The first thing you need to do is to create a new file. You can do this by opening a text editor (like Notepad), give it a new name (something like my-template), and save it as .php.

Copyright © 2021