Thursday, March 16, 2017

Understanding WordPress Pages and the Pages API

There are differences between WordPress posts and pages. There are times when a post is more suitable to use, while for other types of content, a page is more appropriate.

In this article, I'll cover what pages are and why they are different to posts. I’ll then show you how to manage pages on a WordPress website. Finally, we’ll take a look at some functions in the WordPress Pages API and have a play with pages.

[author_more]

What Is a WordPress Page?

A WordPress page is a page of content on your website, for example a 'Contact' or 'About' page. We often see links to these pages in the main navigation, sidebar, or the perhaps in the footer of the website.

The main difference between a post and a page is the context in time: a post is generally time-dependant, while the content within a page is often permanent.

Continue reading %Understanding WordPress Pages and the Pages API%


by Jérémy Heleine via SitePoint

No comments:

Post a Comment