Jump to content

What's the difference between post and posts, tag and tags?


desbest
 Share

Recommended Posts

What's the difference between "post" and "posts", tag and tags?

I find this to be strange looking at the templates.

Why does the plural form exist for those two, and not for others. I don't see a template for "author" or "comment".

Link to comment
Share on other sites

Hi desbest and welcome to PW!

The plural version is the parent template and the singular is the template for the child pages which contain the actual posts and tags. This allows different rules for the parent and child templates. It allows you to say that any children of the tags page must use the tag template.

Look at the page tree for Tags:

Tags (tags template)

    CSS (tag template)
    Customization (tag template)
    Photography (tag template)
    Templates (tag template)
    Uninteresting (tag template)
    Videos
 
This also allows for creation of a Tags PageField that allows for selecting these tags on other pages (eg from a post).
 
It's all about structuring the content and defining what is allowed to be used where.
 
Here is a great tutorial from kongondo about page structuring:
 
This video about page fieldtypes might also be useful:
 
Hope that helps - let us know if you have any more specific questions.
  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...