Class Notes (973583)
CA (573438)
UTM (26034)
CCT (1017)
Lecture 11

CCT360H5 Lecture 11: LEC #11

, Fall 2016
2 pages42 viewsFall

Department
Communication, Culture and Technology
Course Code
CCT360H5
Professor
Shanta Nathwani
Lecture
11

This preview shows half of the first page. to view the full 2 pages of the document.
PHP, Backups and Wrap-ups
Additional PHP Files you might use:
1. Single.php shows a single post
2. Archive.php shows posts based on a category archive
3. Page.php shows a page
4. Header.php creates the header
5. Footer.php creates the footer
6. Sidebar.php creates the sidebar (+ widget areas)
Why would I want to change any of this?
You may wish to:
- show a page listing posts by a particular author and rather than just displaying the links,
you may want to display the excerpt of a few posts by the author.
- only show the date and not the time on a particular post.
- Add a static piece of text on your home page (http://malverncollegiate.com)
Links to Codex, etc.
Template Tags: http://codex.wordpress.org/Template_Tags
Template Hierarchy: http://codex.wordpress.org/images/1/18/Template_Hierarchy.png
Function Reference: http://codex.wordpress.org/Function_Reference
Conditional Tags: http://codex.wordpress.org/Conditional_Tags
Pages: http://codex.wordpress.org/Pages
Displaying ALL posts by an author (Forum):
http://en.forums.wordpress.com/topic/display-posts-by-author
Underscores: http://underscores.me
Tidy Repo: http://tidyrepo.com/
Backups
1. Hard way
2. Not-so-hard way
3. The easy way
a. Backup buddy
b. Vaultpress
4. Full backup vs Database only
PHP, Part 3
Intro to Databases
- Databases are organized storage
- There are different kinds of databases. Relational databases are widely used in
computers.
find more resources at oneclass.com
find more resources at oneclass.com

Loved by over 2.2 million students

Over 90% improved by at least one letter grade.