Difference between revisions of "WordPress Template"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Redirected page to WordPress template file)
Line 1: Line 1:
In [[WordPress]], a template is a PHP file within a [[WordPress theme]].
+
#REDIRECT [[WordPress template file]]
 
+
== Description ==
+
 
+
Templates have specific file names, and have specific purposes.
+
 
+
All templates must include the template named <code>index.php</code>.
+
 
+
== Template hierarchy ==
+
 
+
Templates form a hierarchy.
+
 
+
Some templates override other templates.  This varies according to which templates you use, and how you use them.
+
 
+
See [https://developer.wordpress.org/themes/basics/template-hierarchy/ Template hierarchy] @ codex.wordpress.org.
+
 
+
== See also ==
+
 
+
* [[WordPress]]
+
* [[WordPress theme]]
+
 
+
== External links ==
+
 
+
* [https://codex.wordpress.org/Templates Templates] @ codex.wordpress.org
+
 
+
[[Category:WordPress]]
+

Revision as of 17:49, 5 September 2016