Solved

Wordpress Post vs Page, Best Practices

Posted on 2014-01-18
2
351 Views
Last Modified: 2014-01-18
I'm new to creating WordPress templates, so I apologize if this is a dumb question :)

As an example, I have a template page "About.php" which I've named "AboutUsPage".  

So I create a new page called About and it uses "AboutUsPage"

On this page, I need to display 2 user profiles.  Each profile contains a Name, Description and Image.  So I see 3 ways of accomplishing this, but I'm wondering what the best practice is.

Option 1.  Copy my the html verbatim into the html editor for the About,  This is fine, but there's html to worry about and I wonder if users editing this page will have to worry about too much.

Option 2.  Create a page for each profile, and use a custom field for the image and display both posts on the about page.  In this case, I could control where each element goes on the AboutUsPage template.

Option 3. Create a category called About, and 2 posts, 1 for each profile, under that category.  List each post in the category on the AboutUsPage template.

So the question is...  which option is best?  Or am I missing something.

Thank you for your help and opinions!
0
Comment
Question by:slightlyoff
2 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39791361
Option 1.  Copy my the html verbatim into the html editor for the About,  This is fine, but there's html to worry about

The WordPress visual editor should handle the HTML and let the users edit without dealing with the code side.  Generally speaking, you will have to train users about HTML (albeit minimally) in order for them to be successful.  

Option 2.  Create a page for each profile, and use a custom field for the image and display both posts on the about page. Option 3. Create a category called About, and 2 posts, 1 for each profile

Both of these options make things unnecessarily complex.  Unless the About Us page is going to change frequently and thus require more than a quick edit, you would be better off just making it a normal page and placing the elements in there.

When planning out a WordPress site, it's helpful to keep the following in mind:

Pages = are meant for mostly static/timeless site content and can have hierarchy, but take no taxonomy (tags, categories).

Posts = are meant for content associated with a time/date and support both hierarchy and taxonomy but the latter is only supported with tags and categories.

Custom Post Types = are a subset of posts where you can redefine how the default Post works and add/remove meta information as well as create different types of taxonomies aside from tags and categories.  Custom Post Types are also organized separately from posts in the admin which makes them easier to expose/hide from different user roles.

Custom Fields = contain data independently of the Post/Page/CPT structures and can be recycled and reused as you see fit.

So in this specific case, you would have no real reason to use anything other than a page given only two objects.  Just lay it out and publish.

But if you were creating a company-wide directory and wanted to make it searchable as well as having a specific format, that would lean more towards creating an "Employees" custom post type with a new template and possibly using custom fields in the template to organize the placement of data.  Instead of categories and tags, you could create new taxonomies such as "Title" and "Department" and use those to help organize the employees.

Make sense?
0
 
LVL 1

Author Closing Comment

by:slightlyoff
ID: 39791369
Yes, perfect.  Thank you for taking the time to help!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Who says nothing in life is free? WordPress.com is a freebie. WordPress.org's downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question