Privateer Theme Forums
May 19, 2012, 02:22:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Check out the site setup guide and Mini-site graphics setup guide in the tutorials forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Separation of Posts and Pages  (Read 595 times)
Tony Lee
Administrator
Full Member
*****

Karma: +2/-0
Posts: 137


View Profile
« on: March 01, 2010, 01:20:57 PM »

In the Privateer Theme for WordPress, post and page objects have been disassociated.

By default, WordPress uses three primary objects to display information:
  • Templates ( the home.php, single.php, etc. documents )
  • Posts ( user created posts - primary blog entries )
  • Pages ( user created pages - like posts, but designed to be shown as pages )

At the database level, there is no difference between posts and pages within WordPress. All differences in functionality are purely through php code.

In The Privateer wordpress theme, individual templates are separated from user created post and page objects. Each page type is controlled via options in the Privateer Menu while the post and page objects are left to the editor one uses when creating new content.

Below is a quick overview of how this works in relation to the home page:

<a href="http://www.youtube.com/watch?v=P0zWaiMivNk" target="_blank">http://www.youtube.com/watch?v=P0zWaiMivNk</a>
« Last Edit: March 01, 2010, 01:25:47 PM by Tony Lee » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!