Home > Articles > Home & Office Computing > The Web/Virtual Worlds/Social Networking

Using WordPress: Content

This chapter is all about content - putting words in your WordPress blog: different types of content, how to create content, and specific things about each content type.
This chapter is from the book

This chapter is from the book

This chapter is all about words—specifically, putting words onscreen that will become the content for your website. We’ll cover how the Post and Page editors are the same—and how they’re different. We’ll cover what Posts and Pages are, and why I keep referring to them separately (and why I also talk about pages with a lowercase “p”). We’ll talk about categories, tags, and how to use them to organize your content throughout your site. If you need to move your content to another site, or bring another site’s content into yours, we’ll get to that, too. Finally, we’ll wrap up with managing comments, because although not specifically content-related, comments are tied to the content, so it makes sense to talk about them. Before we get to how to create content in WordPress, let’s talk about the main types of content: Posts and Pages.

Posts, Pages, Custom Post Types, and Post Formats Explained

There are two basic types of content in WordPress: Posts and Pages. All other kinds of content are derived from one of those two types (generally Posts). So what are Posts and Pages (and why do I keep capitalizing them!)? Let’s start with Posts.

Posts: Also Known as the Blog Post, But More

When WordPress first came out, the only content type was a Post. That was the way a lot of blogging tools worked back in 2003 when WordPress 0.75 came out. A post was, essentially, a blog post. A piece of content that was intended to be a part of a much larger whole—a blog. It’s that sense of connectedness that is essential to understand posts. Posts are always connected to each other. All posts are connected to each other by time, and we can see this through the time-based archives within WordPress (day, month, year). You can go back and page through all the posts you’ve written (and published), based on when they were published. Posts are also connected by author, category, and tag. However, if more than one person is writing on a site, each post could have different authors, categories, or tags from any other post; you can’t say that all posts are connected to each other this way. Just to make things a little more confusing, all posts must be in at least one category. Remember in Chapter 6, “Setting Up your WordPress Site Right the First Time,” that when we looked at the Writing settings, there was the Default Category, and it was set to Uncategorized. That’s it. If you don’t assign a post to a category when you publish it, it will be assigned to the default category. This is, by the way, why we’ll edit the name of the default category to something (anything) other than Uncategorized. If you forget to assign a post to a category, the default category should at least be something meaningful.

Okay, let’s recap. Posts are content that are connected to each other through time (all posts), category, tags, and author. That’s the key. Posts are pieces of content that have a relationship to other pieces of content. You can always look at the “Archive” page for an author, category, tag, or date and see all the Posts that match those conditions. “Archive” is in quotes because it isn’t so much an “archive” as storage as it is “archive” as a list. Being able to list all the posts of one particular type is very, very powerful and allows you to do some very clever things with your content. Later in the chapter, I’ll talk about these clever ways to organize your content using posts and pages (and other content types). This is very important to think about if you’re using WordPress to build a website. Now let’s talk about pages.

Pages: Standing Alone with Purpose

Pages are what people tend to think of as “regular web pages.” They are intended to be (relatively) static and can stand alone and still have context and meaning. The best examples of pages are the About Me and Contact pages. If you get to those pages on a site, they make sense all on their own. They don’t need any other pieces of content for context or to make sense. Pages can’t be assigned to a category or tag, and although pages do have published dates and authors, you can’t look at all pages in a list (easily) using either of those. Pages aren’t just boring old content, though. They have tricks of their own—page templates. Page templates are used to do things like have content without sidebars, have a Page that displays Posts, and many other cool things we’ll see throughout this chapter and book. The catch is that Page templates are defined by the theme you’re using. Some themes have lots of Page templates; others only one (the default one). Pages were developed as a response to WordPress users who wanted content that could stand alone outside of the stream of blog posts and maintain a place in the site. We all wanted Contact and About pages that we could keep outside of the flow of posts and be used for content that didn’t match up nicely with what a blog post was or is. Pages were also the first things to be pulled into the early ways we handled menus. The reasoning is that we wanted people to read our posts, but the pages were the extra information (About, Contact, Downloads, Hiring) that visitors wanted to know as well. Then people wanted to use WordPress to make “traditional websites” and things got really interesting, but that’s a story for Chapter 17, “Advanced WordPress Settings and Uses.” Now what if you’d like content that looks, works, and behaves like a post, but not in the stream of blog posts? Content that is contextually linked, but as you create more content, it doesn’t clutter up your stream of carefully crafted blog posts? That is why and how Custom Post Types were developed and added to WordPress.

Custom Post Types: Pulling Posts Out of the Blog Stream

WordPress 3.0 (Thelonious) didn’t just bring in menus, new admin interfaces, and other changes; WordPress 3.0 also introduced Custom Post Types to the WordPress community. Custom Post Types are pieces of content that work and behave like posts, but they don’t appear in your “regular” stream of posts. For example, you want to add testimonials, happy customers gushing about you and your company, to your site. It makes sense to have those as posts because you can easily put all testimonials in a Testimonials category and point visitors to something like http://abgwp.trishusseyc.om/archive/testimontials (or just /testimonials if you use WordPress SEO and set it up to do that—see Chapter 7, “Setting Up Your WordPress Site the Right Way: SEO, Social Media, and More”) to read all the testimonials. However, you also have a blog, and if you created each testimonial as a Post—even under a single category like Testimonials that blog posts never used—visitors (and search engines) could see the testimonials mixed in with blog posts. Not terrible, but it makes for a messy content listing. Also, you can’t just point visitors to a menu or link to all your posts without doing something like making sure all posts are always in one particular category (as well as others) that you can use for navigation. But this approach, relying on people to remember to always set a specific category, is doomed to fail at some point. Someone will forget to set the right category (even if it’s the default one) and will wonder why their post isn’t listed on the blog, and you’ll have to look to see they missed the check box.

Right—messy and annoying. By using Custom Post Types, this isn’t an issue at all. Blog posts are created as posts and you can use any of the ways—including the default ones—to list the posts for people to read. Testimonials have their own, separate way of being displayed and listed. Nice, neat, and simple. Some of the original explanations of Custom Post Types talked more about needing specific types of posts and how to organize them (with their own category and tag tools), but in the three years since WordPress 3.0 came out, the most popular use to Custom Post Types I’ve seen is being able to pull postlike content (content that is connected to each other) out of the regular blog stream. We’ll talk more about setting up Custom Post Types and how to incorporate them into your blog in Chapter 16, “Customizations Without (Much) Coding.” You’ll find themes and plugins create Custom Post Types to work their magic (like Testimonials and Slideshow plugins), so you’re likely to come across Custom Post Types and not even know it!

Post Formats: Styling Posts in New Ways

WordPress 3.1 (Reinhardt) brought in a new way to style posts: Post Formats. Post Formats are designed to allow theme designers to provide ways to offer quick, styled ways of presenting content. Formats such as asides, quotes, images (where the entire Post is a single image), and image galleries are some of the default Post Formats WordPress starts with (themes and plugins can create their own, as well). You can read the (somewhat geeky) explanation on the WordPress Codex (http://codex.wordpress.org/Post_Formats), but essentially, Post Formats created a standardized way to let WordPress users have a similar experience as Tumblr (www.Tumblr.com), which is a hosted blogging service that focuses on the idea of post formats as a way to style content in different ways. So if you have a quote you’d like to share, it might have a nice big quote mark image at the top; maybe the text is in a nice italic font, and there is space at the bottom for who said the sage words. Photo galleries, asides, even Twitterlike status updates—each has a style that reflects and displays that content in the best way possible. The important thing to understand is that Post Formats are not a separate kind of post, just a different way to style it. You can even have Post Formats for Custom Post Types! Remember that Post Formats are just and only that—formatting, style, and layout for regular posts.

These are the basic types and kinds of content in WordPress. They sound a lot more complicated than they really are. Just remember: Pages stand alone, posts are connected, Custom Post Types are a special kind of post separate from your blog posts, and Post Formats make posts look cool. Now that we have that straight, let’s look at how content is created: the Editor.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020