Custom pages and page templates.
After inserting content and defining default and custom css-classes for the different pages, we are going to work on how to provide different pages with each its own structure and content.
Custom page templates
Creating a custom page template is a simple matter. It requires creating a .php file with a name following the structure:
page-<page-slug|page-id>.php
This means, of course, that we will need to know either the ID or the so-called slug of the page. The slug of the page can be obtained by looking at it’s URL: it is the part following the slash (/). To get the ID of the page, we need to open the page in the page editor and examine the URL there. The number following the ?post= part of the URL is the page ID.