Email web hosting - Other page options There are some other options
Wednesday, October 24th, 2007Other page options There are some other options you can set on this page. Although they don t play a role in our current exercise, it is worth mentioning them and what they do. Page Content Page Content allows us to add some text to the page, much as if we were writing a post. You could just type in the information you want on your page here. Page slug Ah, the Page slug. The single most useful feature on this page with the most bone-headed, unusable name. The Page slug allows you to set the URI for this page (or post, for that matter). For instance, we have entered colophon as our page slug so when we visit this page in our browser the URI will be http://localhost/colophon/. If we put nani-naniboo-boo in the Page slug field, our URI would be http://localhost/nani-nani-boo-boo/ (and that is funnier, and funnier is good). Page parent One of the smoothest features of Pages is the child/parent relationship. In WordPress you can assign a page to be the child of another page. This really becomes powerful when you have multiple pages set as children of another page. If you leave a page as the child of the main page, you will get a result similar to that shown in Figure 5-3. You see that the Pages heading on the right contains the Colophon page because the Colophon page is still the child of the main page. If you were to pick another page as a child of the Colophon page, it would be listed under the Colophon link on the right. Note that the URI of the child page is derived from the parent page s URI. For example, adding another page with a page slug of more as a child of the Colophon page would give us http://localhost/ colophon/more/. At this point you would also want to set your page order. Page Order Page order really only comes into play when you have more than one page acting as a child to a parent page. Suppose that you have a page called Gallery, and then you have three pages that are children of that page. You would use Page Order to determine the order of the children, or which page is listed as the first child, which is the second, and so on. Viewing the new Page We finished our first step. Now click Create New Page. WordPress should save the page to its database, reload the current page, and serve you with a link called Manage Pages. Click that link and you will see a list of the pages that you currently have in your database. Look for the one called Colophon, find it, and click the corresponding View link on the right side of the page. Of course, if you never created a Page in your WordPress install, it will be the only one listed here. Lucky you. WORDPRESS 197