10

Adding a New Page

Virtually everything covered so far about writing content applies to both posts and pages in WordPress. I've also covered the key functions unique to posts, such as categories and tags. Now, in this lesson, it's time to cover the functions unique to WordPress pages.

PAGES VS. POSTS

A detailed discussion of when to use posts and when to use pages was covered in Lesson 1, but it's worth reviewing the key points.

Posts tend to be numerous short pieces of information that could be grouped in many different ways. In the case of Island Travel, people's testimonials are short and can be about several different topics at one time, and there are (hopefully) lots of them. Countries in the Caribbean are limited in number, have a lot of relatively static information, and, for our purposes at least, require only one designation — countries or destinations. That makes them good candidates for WordPress pages.

You know already that categories, tags, and formats apply only to posts, so let's look at what's unique to pages.

THE ADD NEW PAGE OPTIONS

The default Add New Page screen does not look much different from Add New Post, as you can see from Figure 10-1.

As with Add New Post, the default screen doesn't show all of the meta boxes available, but for pages, there are fewer choices: Custom Fields, Discussion, Comments, Slug, Author, and Revisions. These all work exactly the same way as for posts, so I'll just cover the Page Attributes box, which has three functions.

FIGURE ...

Get WordPress® 24-Hour Trainer, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.