In WordPress, you can write Posts or Pages. When you’re writing a simple blog entry, you write a post. Posts usually appear in reverse chronological order on your blog’s home page. Pages are for content like “About,” “Contact,” etc. They live outside the normal blog chronology, and are often used to present timeless information about yourself or your site information that is always applicable. Pages can be used to organize and manage any content.
In addition to the generally required “About” and “Contact” Pages, other examples of common pages include Copyright, Disclosure, Legal Information, Reprint Permissions, Company Information, and Accessibility Statement.
In general, Pages are like Posts in that they both have Titles and Content and can use your WordPress Theme templates files to maintain a consistent look throughout your site. Pages, have several key distinctions that make them quite different from Posts.
- Pages are for content that is less time-dependent than Posts.
- Pages can be organized into pages and subpages.
- Can use different Page Templates which can include Template Files, Template Tags and other PHP code.
- Pages may have a more complex array of readily available display adjustments when using sophisticated Themes with extensive customization.
- In essence, Pages are for non-blog content. It is possible to remove all or most Posts from a WordPress installation, and thus to create a standard non-blog website.
- Pages are not Posts, nor are they excerpted from larger works of fiction. They do not cycle through your blog’s main page. WordPress Plugins are available to change the defaults if necessary.
- They 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.
- Although you can put Template Tags and PHP code into a Page Template file, you cannot put these into the Page or Post content without a WordPress Plugin like Exec-PHP which overwrites the code filtering process.
- Pages are not included in your site’s feed.
- Pages and Posts may attract attention in different ways from humans or search engines.
- Can be set as a static front page if desired with a separate Page set for the latest blog posts, typically named “blog.”
To create a new Page, you should log in to your WordPress installation with sufficient admin privileges to create new articles, then Select the Pages > Add New option to begin writing a new Page.
You can have subpages within your Pages, creating a hierarchy of pages.
For instance, a WordPress site for a travel agent may feature an individual Page for each continent and country to which the agency can make travel arrangements. Under the Page titled “Africa” would be subpages for Zambia, Nigeria, Angola, and Egypt. Another parent Page “South America” would feature subpages of Bolivia, Colombia, and Peru.
Your site would list:
To create a subpage you should:
- Go to Administration > Pages > Add New panel.
- In the right menu, click the “Page Parent” drop-down menu. The drop-down menu contains a list of all the Pages already created for your site.
- Select the appropriate parent Page from the drop-down menu to make the current Page a child Page.
- Add content to the subpage.
- Click Publish when ready.
To change the URL part containing the name of your Page, use the “Edit” button under the Page title on the Edit screen of the particular Page, then accessible from Pages tab of WordPress Administration Panel.
By WordPress you can automatically generate a list of Pages on your site within the sidebar or footer, for example, using a Template Tag called wp_list_pages().
Individual Pages may be set to use a specific custom Page Template you create within your Theme. See Custom Page Templates for instructions on how to create a custom template file for a Page. This new Page Template will override the default page.php Page Template included with your Theme.
A web page may be static or dynamic.
Static pages, like a regular HTML page that you might create with Dreamweaver, are those which have been created once and do not have to be regenerated every time a person visits the page. In contrast, dynamic pages, like those you create with WordPress, do need to be regenerated every time they are viewed; code for what to generate on the page has been specified by the author, but not the actual page itself. These use extensive PHP code that’s evaluated each time the page is visited, and the content is thus generated upon each new visit.
Almost everything in WordPress is generated dynamically, including Pages. Everything that’s published in WordPress is stored in the MySQL database. When the site is accessed, the database information is used by your WordPress Templates from your current Theme to generate the web page being requested.
Such a page might be an HTML document (without any PHP code). The problem with purely static pages is that they are hard to maintain. Changes that you make to your WordPress settings, Themes and Templates will not be propagated to pages coded only in HTML. The Page feature of WordPress was developed to alleviate this problem. Using Pages, you no longer have to update your static pages every time you change the style of your site. If written correctly, your dynamic Pages will update along with the rest of your blog.
Despite being dynamic, Pages, many people refer to them as being static. They are actually called “pseudo-static” web pages. A Page contains static information but is generated dynamically. Thus, “static,” “dynamic,” or “pseudo-static” can be validly used to describe the nature of the WordPress Page feature.
Hope this article was helpful for you!