Difference between revisions of "WordPress template file"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Redirected page to WordPress template)
 
Line 1: Line 1:
In [[WordPress]], a '''template file''' is a [[PHP]] document which controls how your WordPress site will be displayed on the web.
+
#REDIRECT [[WordPress template]]
 
+
== Description ==
+
 
+
Template files belong to [[WordPress theme|WordPress themes]].
+
 
+
Template files have specific file names, and each file has a specific purpose.
+
 
+
All themes must include the template file named <code>index.php</code>.
+
 
+
Template files draw information from your [[WordPress database|WordPress MySQL database]] and generate the HTML code which is sent to the web browser.
+
 
+
== Template hierarchy ==
+
 
+
Templates form a hierarchy.
+
 
+
Some templates override other templates.  This varies according to which templates you use, and how you use them.
+
 
+
All themes must include the template file named <code>index.php</code>. Additional template files override <code>index.php</code> (and each other).
+
 
+
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
+
* [https://developer.wordpress.org/themes/basics/template-files/ Template Files] @ developer.wordpress.org
+
* [https://codex.wordpress.org/Stepping_into_Templates Stepping Into Templates] @ codex.wordpress.org
+
 
+
 
+
[[Category:Computer programming]]
+
[[Category:Computer science]]
+
[[Category:Computing]]
+
[[Category:Web design and development]]
+
[[Category:WordPress]]
+

Latest revision as of 17:58, 5 September 2016

Redirect to: