Difference between revisions of "Week Five (MGDP2060)"
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
Line 24: | Line 24: | ||
* [http://www.wired.com/2015/09/spy-agency-contractor-puts-1m-bounty-iphone-hack/ Spy Agency Contractor Puts Out a $1M Bounty for an iPhone Hack] @ Wired.com | * [http://www.wired.com/2015/09/spy-agency-contractor-puts-1m-bounty-iphone-hack/ Spy Agency Contractor Puts Out a $1M Bounty for an iPhone Hack] @ Wired.com | ||
+ | |||
+ | == WordPress installation == | ||
+ | |||
+ | ... | ||
+ | |||
+ | == WordPress administration == | ||
+ | |||
+ | ... | ||
+ | |||
+ | == WordPress Themes == | ||
+ | |||
+ | === Standard Themes === | ||
+ | |||
+ | ... | ||
+ | |||
+ | === Custom Themes === | ||
+ | |||
+ | ... | ||
+ | |||
+ | === Theme files === | ||
+ | |||
+ | Each theme must contain two specific files: | ||
+ | |||
+ | * <code>styles.css</code> - the stylesheet for this Theme | ||
+ | * <code>index.php</code> - the primary Template | ||
+ | |||
+ | == Theme Stylesheets == | ||
+ | |||
+ | Each Theme requires a stylesheet named <code>styles.css</code>. | ||
+ | |||
+ | <code>styles.css</code> functions like any other stylesheet, providing [[Cascading Style Sheets|CSS] rules for the site. | ||
+ | |||
+ | But in addition, <code>styles.css</code> contains information which WordPress uses to identify the stylesheet, and the folder which contains it, as WordPress Themes. | ||
+ | |||
+ | * The Theme information, which uses a standard format, goes inside a [[CSS comment block]]. | ||
+ | |||
+ | WordPress can read the contents of the <code>styles.css</code>, so it knows what Theme the stylesheet represents. | ||
+ | |||
+ | This happens on the web server, and has nothing to do with the web browsers. CSS comments are ignored by web browsers. | ||
+ | |||
+ | == Theme Templates == | ||
+ | |||
+ | Templates are individual PHP files within a WordPress Theme. | ||
+ | |||
+ | Themes must have at least one Template, named <code>index.php<code>. | ||
+ | |||
+ | Templates have specific file names, each of which handles a specific pages, or set of pages, within WordPress. | ||
+ | |||
+ | Template files are where you write the HTML and PHP which WordPress will display as web pages. | ||
+ | |||
+ | == New vocabulary == | ||
+ | |||
+ | ... | ||
+ | |||
+ | == Vocabulary to date == | ||
+ | |||
+ | .. | ||
== See also == | == See also == | ||
* [[Web Design and Development III (MGDP2060)]] | * [[Web Design and Development III (MGDP2060)]] |
Revision as of 10:04, 22 September 2015
This article lists topics for week five of Web Design and Development III (MGDP2060).
Textbook reading for this week: Chapter Five.
Contents
In the News
Copyright bots
See Bots.
IPFS: replacement for HTTP
- HTTP is obsolete. It's time for the distributed, permanent web - "Neocities has collaborated with Protocol Labs to become the first major site to implement IPFS in production. Starting today, all Neocities web sites are available for viewing, archiving, and hosting by any IPFS node in the world. "
- See ipfs.io
Wikipedia:
- InterPlanetary File System
- "InterPlanetary File System (IPFS), also called "The Permanent Web", is a hypermedia distribution protocol, addressed by content and identities. IPFS enables the creation of completely distributed applications. It aims to make the web faster, safer, and more open."
Security
WordPress installation
...
WordPress administration
...
WordPress Themes
Standard Themes
...
Custom Themes
...
Theme files
Each theme must contain two specific files:
-
styles.css
- the stylesheet for this Theme -
index.php
- the primary Template
Theme Stylesheets
Each Theme requires a stylesheet named styles.css
.
styles.css
functions like any other stylesheet, providing [[Cascading Style Sheets|CSS] rules for the site.
But in addition, styles.css
contains information which WordPress uses to identify the stylesheet, and the folder which contains it, as WordPress Themes.
- The Theme information, which uses a standard format, goes inside a CSS comment block.
WordPress can read the contents of the styles.css
, so it knows what Theme the stylesheet represents.
This happens on the web server, and has nothing to do with the web browsers. CSS comments are ignored by web browsers.
Theme Templates
Templates are individual PHP files within a WordPress Theme.
Themes must have at least one Template, named index.php<code>.
Templates have specific file names, each of which handles a specific pages, or set of pages, within WordPress.
Template files are where you write the HTML and PHP which WordPress will display as web pages.
New vocabulary
...
Vocabulary to date
..