Difference between revisions of "Week Eight (MGDP2060)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
Line 10: Line 10:
  
 
See [[WordPress Home Page]].
 
See [[WordPress Home Page]].
 +
 +
== Showing Hidden Files and Folder ==
 +
 +
Hidden files and folders are typically hidden: 
 +
 +
* Not displayed in Finder, on Macintosh computers
 +
* Not displayed in File Manager, on Windows computers
 +
 +
The [[.htaccess]] file is typically treated as hidden.
 +
 +
You can tell your computer to display hidden files and folders:
 +
 +
* [http://www.macworld.co.uk/how-to/mac-software/how-show-hidden-files-in-mac-os-x-finder-funter-3520878/ How to show hidden files and folders in Mac OS X Finder]
 +
* [https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files Show Hidden Files (in Windows)]
  
 
== WordPress Templates ==
 
== WordPress Templates ==

Revision as of 15:42, 13 October 2016

This article lists topics for Week Eight of Web Design and Development III (MGDP2060).

No Class October 20 - next class October 27.

Update: WordPress Page Templates

Don't use Page Templates with Pages selected for the Static Front Page or the Static Posts Page -- doing so causes the CSS to fail.

The same is true when using the Static Posts Page option.

See WordPress Home Page.

Showing Hidden Files and Folder

Hidden files and folders are typically hidden:

  • Not displayed in Finder, on Macintosh computers
  • Not displayed in File Manager, on Windows computers

The .htaccess file is typically treated as hidden.

You can tell your computer to display hidden files and folders:

WordPress Templates

A WordPress Template is a PHP document which controls how WordPress content is displayed.

Template hierarchy

All themes must include the Template file named index.php.

Additional WordPress Templates form a hierarchy, overriding index.php for specific types of information.

See WordPress Template hierarchy.

Header and Footer Templates

Most WordPress Themes include Templates named header.php and footer.php, which are included in all of the other Template files.

See WordPress Template.

The Loop

The Loop is PHP code used within a Template to display Posts.

See WordPress Loop.

Template Tags

Template Tags are units of PHP code used within Templates to display various types of information.

See WordPress Template Tag.

functions.php

In a WordPress Theme, the file named functions.php contains custom PHP functions for that Theme.

Exercises

See Week Eight Exercises (MGDP2060).