Knowledgebase
Creating Pages
Posted by Chris M. on 24 January 2012 11:45 PM

Pages

In WordPress, you can write either posts or pages. When you’re writing a regular blog entry, you write a post. Posts automatically appear in reverse chronological order on your blog’s home page. Pages, on the other hand, are for content such as “About Me,” “Contact Me,” etc. Pages live outside of the normal blog chronology, and are often used to present information about yourself or your site that is somehow timeless -- information that is always applicable. You can use Pages to organize and manage any amount of content.

In general, Pages are very similar to Posts in that they both have Titles and Content and can use your site’s Templates to maintain a consistent look throughout your site. Pages, though, have several key distinctions that make them quite different from Posts.

  • Pages are for content that you want to be available all the time and navigable from anywhere on your site. Pages are not Posts, and do not cycle through your blog’s main page.

  • Pages can be organized into Pages and SubPages by selecting Page Parent when you create a Page.

  • Pages can use Page Templates that you can design to be the same or different from your regular blog post pages. Page templates can include Template Files, Template Tags and other PHP code.

  • Pages cannot be associated with Categories and cannot be assigned Tags. The organizational structure for Pages comes only from their hierarchical interrelationships, and not from Tags or Categories.

  • Pages are not files. They are stored in your database just like Posts are.

Creating Pages

To create a new Page, go to Pages → Add New from the main menu. You will see an editor similar to the screen you use to create posts. Enter a title, text, add media and click Publish to create a simple page.

Page Order

If you have more than one page, you will see a module labeled Page Order. You can select a numerical order for your Page to determine the order in which Pages are listed in your navigation or sidebar widget. By default, Pages will be listed in the order they were created.

Page Parent

Just as you can have Subcategories within your Categories, you can also nest SubPages beneath your Pages, creating a hierarchy of pages. To nest a Page under an existing Page, create a new Page or go to an existing Page in the Administration Panel, and click the “Page Parent” drop-down menu. The drop-down menu contains a list of all the Pages already created for your site. To turn your current Page into a SubPage, or a “Child” of the “Parent” Page, select the appropriate Page from the drop-down menu. If you specify a Parent other than “Main Page (no parent)” from the list, the Page you are now editing will be made a Child of that selected Page. When your Pages are listed, the Child Page will be nested under the Parent Page. The Permalinks of your Pages will also reflect this Page hierarchy.

Changing the URL (or “Slug”) of Your Pages

If you have Permalinks enabled, and you have selected the Day and Name option (Click the Settings tab, and then click the Permalinks subtab), then the permalink automatically shows up below your post title when you start typing in the body of your post (not just the title).

However, if you have a different permalink option selected, or if you don’t have permalinks enabled at all, you must do the following to edit your page URL:

  • Create a Page by going to Pages → Add New and entering a title, text content, etc.

  • Click the Publish button to publish your page.

  • Go to Pages → Edit.

  • Find your Page in the table, and click on the title to edit the Page.

  • See the permalink under the title, and click the Edit link to change it.

Thus, if you don’t have the right permalink option enabled, you have to publish your pages before you can set the URLs.

Page Templates

WordPress can be configured to use different Page Templates for different Pages. In the Page Template module of the Page creation/editing screen, there is a drop-down menu that allows you to select which Template will be used when displaying this particular Page. NOTE: In order to access the Page Template selector, there must be at least one custom Page Template available in the active theme (see Creating your Own Page Templates in the Codex to learn how to create one).

Listing Your Pages on Your Site

WordPress is able to automatically generate a list of Pages on your site, which could be displayed in a number of ways, depending on your Theme. If you are using a Theme that uses navigation tabs, your Pages will create tabs according to the Theme design. If you are using a Theme with a sidebar (such as the default Theme), you can use the Pages widget to generate the Page list in your sidebar. Go to Appearance → Widgets, click Add next to the Pages widget in the left column.

Managing Existing Pages

The Edit Pages screens provides allows you to manage all the Pages in your blog. Pages can be edited, deleted, and viewed. Filtering and searching make it easy to quickly find Pages matching certain criteria if you have a large number of Pages. Go to Pages → Edit to access these editing features.

Several powerful features allow Pages to be edited in bulk allowing fields such as Author, Parent, Template, Comments Allowed, Status, and Pings Allowed to be changed for a whole batch of Pages. In addition, the Quick Edit feature provides an easy method to change a multitude of values, such as Title, Slug, Date, and Author for a given Page.

Text Filters

At the top of this screen are links such as All, Published, Pending Review, Draft, Private, that when clicked, will cause just the Pages of that type to be displayed in the underlying Table.

Search

Above the Table, to the right, is a search box where you can enter a word, or series of words, and click the “Search Pages” button to search and display all the Pages meeting your search words.

A table lists all of your Pages in rows.

A table lists all of your Pages in rows. The Pages are listed with the newest Page first. The table contains the following columns:

[ ]

This checkbox, when clicked (checked), “selects” that particular Page to be processed by a Bulk Action.

Title

This is the Page’s Title displayed as a link. Click the Title link to allow this Page to be edited in the Pages Edit SubPanel. Next to the Title, if a Page is of a Draft, Pending, or Password Protected nature, text will display showing that.

"ID"

This is not a column in the Table, but by hovering the mouse over the Page Title, the Page ID is revealed as part of the URL displayed in the browser status bar (in Firefox the status bar is displayed at the bottom of the screen). A Page’s ID number is the unique number WordPress’ database uses to identify individual Pages.

Author

Displayed in the form of a link, this is the author who wrote the Page. Clicking the author link causes all the Pages authored by that user to be displayed in the Table of Pages (thus allowing a Bulk Action to be applied to all Pages for a given author).

Comment bubble

A comment bubble is the column heading, and each Page row has comment bubble with the number of comments for that Page. If a Pages has any comments, then the number comments is displayed in a blue bubble. Clicking on a blue comment bubble causes the Comments Edit Comments SubPanel to be displayed to allow moderation of those comments.

Date

The Date column for each Page shows the Date “Published” for Published Pages and the Date “Last Modified” for Unpublished Pages.

Bulk Actions

This screen allows Bulk Actions to be performed on one or more Pages selected in the Table. For Bulk Actions to be performed on multiple Pages at once, those Pages must be first selected using the checkboxes in the left column of the table. Select Edit or Delete from the Actions menu and click Apply.

If you are using the Bulk Edit feature, a layer will appear that lists the pages you’ve indicated along with the metadata that can be applied to selected pages. Bulk Edit allows Author, Parent, Template, Comments Allowed, Status, and Pings Allowed to be changed for all of the selected Pages. Click Cancel to cancel and abort the Bulk Edit of these Pages. Click Update Page to save the Bulk Edits made to these Pages.

Page row hovers

Hovering the mouse cursor over the Page row reveals the Edit, Quick Edit, Delete, and View (or Preview, for unpublished pages) action links under the Title column, in that Page’s row.

Edit

Click on the Edit link or on the Page title to load the page editor for that particular Page.

Quick Edit

Quick Edit allows inline editing of fields related to a specific Page, including Title, Slug, Date, Author, Password or Private page box, Parent, Order, Template, Allow Comments, Allow Pings, and Status.

Delete

Clicking Delete deletes the Page.

View

Clicking View presents the Page as it appears in a single Page view on your blog. If the page is not yet published, this link is replaced by Preview.

(0 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako cmshelplive.helpserve.com