Difference between revisions of "Week Seven (MGDP2060)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) (→Template Files (486-502)) |
||
| Line 26: | Line 26: | ||
== Template Files (486-502) == | == Template Files (486-502) == | ||
| + | |||
| + | A [[WordPress Theme]] uses [[WordPress Template]] files to determine how content will be displayed. | ||
| + | |||
| + | Every Theme must have a Template file named <code>index.php</code>. | ||
| + | |||
| + | Most Themes have additional Template files, such as: | ||
| + | |||
| + | * <code>single.php</code> | ||
| + | * <code>page.php</code> | ||
| + | * <code>category.php</code> | ||
== Exercises == | == Exercises == | ||
Revision as of 08:01, 5 October 2016
This article lists topics for Week Seven of Web Design and Development III (MGDP2060).
Contents
Theme style.css file (460-461)
Each WordPress Theme requires its own style.css file.
Theme Editor (461-462)
You can edit WordPress Theme files in the Appearance Editor screen.
However, this is not best practice.
Child Themes (462-467)
A WordPress Child Theme is a WordPress Theme based on another Theme (the "parent" theme).
Creating a Child Theme from scratch is not difficult.
However, you can simply and speed up the process using a WordPress plugin:
Editing the Styles in Your Theme (468-480)
Using Fancy Font (481-484)
Template Files (486-502)
A WordPress Theme uses WordPress Template files to determine how content will be displayed.
Every Theme must have a Template file named index.php.
Most Themes have additional Template files, such as:
-
single.php -
page.php -
category.php