Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress How to Build a WordPress Theme Content Strategy with WordPress Custom Post Types and Fields

What are WordPress Content and Fields

It is obvious from what is being said that you may want you own type of content in Word Press Content and Fields. I am just trying to understand what are content and fields in the first place. Is content the type of page (web) you have and the fields the areas you can fill in? In a page like this http://codex.wordpress.org/Post_Types they refer to Post types, are Post and Content synonymous? Are the field the options to be filled in for a Post? Thanks

4 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Content is an overarching term that refers to everything you add to your site. This includes Posts, Pages, Custom Post Types, etc. Each of these is referred to as a post type (or sometimes content type).

Each post type then has fields associated with it. Posts and Pages come with default fields like Title, Content, etc. For Custom Post Types you setup your own fields, but you are correct that what goes into those fields becomes the content.

Check out this video from our WordPress for Website Owners course for a bit more information: http://teamtreehouse.com/library/wordpress-for-website-owners/adding-and-editing-content/custom-post-types-and-fields

Content is what you publish to a Wordpress site. There are containers that hold content in Wordpress that you enter the data to publish. Fields are attributes of a form where you enter the data to get processed on the server side. Posts to me are more about posting topics or questions as we are doing here.

Thanks! Do you mean the fields become the content of the WordPess site once processed? Is it like a Database where you have fields that define what type of data can be taken in?

Thank you Zac that helps a great deal. By the way the training is the best I have seen. I have actually built templates that worked before and never really understood everything that is going on. As I move through your training I understand everything as you explain well. Thanks for the expertise, and thanks again for taking the time to answer my question.