Week Ten Exercises (MGDP2060)

From Wiki @ Karl Jones dot com
Jump to: navigation, search

This article contains exercises for Week Ten of Web Design and Development III (MGDP2060).

Copy and rename the PinBlack template

In your WordPress (Exercises) installation, copy and rename the PinBlack theme.

Then activate the theme.

Custom Post Type "Products"

Implement the Custom Post Type "Products", per the text book (511-512).

Categories

Create three categories (your choice), corresponding with three types of products.

Sample Products

Create three (or more) sample Products (515).

Use a different Featured Image for each Product.

Assign Products to different Categories.

Display in Archive pages

Implement the PHP code which causes WordPress to display your Products in the standard Archive pages (516-516).

You will need to publish as standard WordPress Post for the current month, in order to make the Products appear in the Archive.

Reading for next week

Textbook:

  • Creating Custom Category Page (519-526)
  • Building a Better Home Page (527-534)
  • Making a Smarter Product Page (534-541)
  • Classifying Your Posts with Custom Taxonomies (542)

Online: