Return to site

Custom page border word

broken image
broken image

You can use page templates to achieve these things. Or, you may want to display a featured image that links to a post on one part of the page, have a list of latest posts elsewhere, and use a custom navigation. You may decide that you want your homepage to look a specific way, that is quite different to other parts of your site. Page templates display your site’s dynamic content on a page, e.g., posts, news updates, calendar events, media files, etc. If a page template has a template name, WordPress users editing the page have control over what template will be used to render the page.

broken image

For example, a page template named page-about.php is more specific than the template files page.php or index.php as it will only affect a page with the slug of “about.” Page templates generally have a high level of specificity, targeting an individual page or group of pages.A page template can be applied to a single page, a page section, or a class of pages.Page templates are used to change the look and feel of a page.Since a page template is a specific type of template file, here are some distinguishing features of page templates: For more details how to set a page template to specific post types see example below. Note: As of WordPress 4.7 page templates support all post types.

broken image