Difference between revisions of "WP THEME"

From KOP KB
Jump to: navigation, search
(Created page with "This will be about certain codings to customize your wordpress theme even further. =Custom Theme Page= When you add a new page in wordpress you can choose a template on the...")
 
(Custom Theme Page)
Line 11: Line 11:
  
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
SOURCE: https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/

Revision as of 19:50, 9 March 2016

This will be about certain codings to customize your wordpress theme even further.

Custom Theme Page

When you add a new page in wordpress you can choose a template on the right hand side. If you upload a php file with a custom template for a page and provide the template name it will show up in the dropdown list.

<?php
/**
 * Template Name: Full Width Page
 *
 */

SOURCE: https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/