980px

WEB170 » 07) Create The Template Files for Your Theme

If you have ever broken a template apart and created a multi-page website using php includes, breaking your theme apart into the template files should be a relatively familiar concept to you.

Requirements:

  1. You need to break your theme apart into the 1) The Document (header.php), 2) The Footer (footer.php), 3) The Sidebar (sidebar.php)4) Index (index.php), 5) Pages (page.php), 6) Single Post (single.php), 7) The Static Front Page (front-page.php) template files.
  2. Tag each file with the file’s name so I can see them in action.
  3. I will check your Protosite’s “View” and “Code” links from your Client Staging Area according to the class Schedule (Spring) to review and grade.

This portion of the Premium Design Works website is written by Mike Sinkula for the Web Design & Development students at Seattle Central College and the Human Centered Design & Engineering students at the University of Washington.

13 Comments:

  1. Han Sue Yu says:

    07) Create The Template Files for Your Theme

  2. Ronald Hamasaki says:

    scc-web-development.com/scc/web170/staging.html

    Sorry for the late submittal. I broke my site and it took a while to fix it.

  3. Kenneth Edwards says:

    I don’t really get this. Why are we saving our index.php 3 times as 3 different files?
    here’s the code.
    https://github.com/rpcvjet/web170protositeCode/tree/lesson7

  4. Alec Martin says:

    Sorry, still getting used to the naming ‘a6’ is meant to be ‘a7’ you get it.
    http://alecmartin25.com/web170/web170-staging-area.html

  5. Shihpei LIn says:

    webaff.net/web170

  6. Dwayne Linde says:

    Now that I have Brain: Files uploaded to both my site, and to my ‘protosite’ GitHub repo.

    Dwayne out.

Trackbacks:

Leave a Comment:

Don't forget to get your Globally Recognized Avatar.

css.php