It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search. I've very new to WP and I'm trying to setup a new page which displays only a specific category through the WP admin section. I've downloaded the ACE plugin and I've managed to filter out posts with a specific category from the main page. Now I want to create a separate page which displays only this category, but I can't work out how to add a new template to the theme through the online editor, in order to show these posts. I'm using the Clean Home theme. Can someone help me work out how to do this?
WordPress allows you to create custom layouts for all of your pages. These custom layouts are called templates. For example, if you have a web design blog, you can create a custom template that will put the PHP logo on every page about PHP. Some themes come with many templates already created, but creating your own is a very simple process. This code is what tells WordPress that this is a template file. We've used an existing page as a starter so we wouldn't need to write all the code from scratch. You can do that if you are creating a very custom page. Without this code, WordPress will treat this PHP file as a default template if it's in the template's directory. This will cause you lots of problems. Be sure to have this code at the top of any page template.
Step #1: Locate your theme's existing pages
Page templates are one of the most important tools for website creation. They allow us to alter the design and even the functionality of a certain page. With a WordPress custom page template, you can add additional sidebars, place widget areas above or below the page content, have sections for custom post types like portfolios within your pages, and more. In a word, you can create a blank canvas template and design all parts of your page from scratch. However, creating custom page templates in WordPress does require some programming skills. That is why many are dissuaded from it and choose to use third-party page builder plugins for creating pages. We will explain more about the structure of those templates, mention some potential uses, as well as show several examples to illustrate the points we made. In general, page templates serve to display various kinds of dynamic content on your website page. But, custom page templates are at the top of the Template Hierarchy when it comes to displaying that content on a single page.
A custom page lets you use a different layout from your regular pages in WordPress. Many WordPress sites have custom page layouts for their sales pages, landing pages, webinar pages, and more. By default WordPress allows you to create posts and pages. Your WordPress theme controls the appearance of your pages using a template file called page. However, as you already know that not all pages are the same. For instance, you may want to create a landing page that looks quite different from your regular website pages. We will cover that method, but we do not recommend it for beginners.