• I was going to use WordPress to build a site for the village where I live. The site will contain information about the village including the places to stay in or nearby.

    Places to stay could either be one of 3 types: “bed and breakfast” or “hotels” or “campsites”.

    I can’t decide whether it will be better to enter each place as a separate page, with “bed and breakfast” or “hotels” or “campsites” as a parent page, or whether to enter each place as a post and simply categorise them according to type. I’ll want to differentiate them from regular news posts, so I could create category templates.

    Any thoughts about which way to go?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Probably a toss-up but I’d throw a vote to using posts and categories. Then you have access to those posts with the date based archiving ability as well as category archives. You can also setup posts to be published at future dates.

    Pages cannot be categorized, though there is a plugin that will enable that ability.

    Might also consider that WordPress 2.3 will have tagging added and I don’t think pages can be tagged (if I’m wrong hopefully someone will correct me).

    +1 for posts

    [edit confirming that in the coming version 2.3, Pages CANNOT be tagged.]

    Thread Starter vickyh

    (@vickyh)

    Thanks for your thoughts. I might very well go down that route then. Tagging could be useful to have.

    I’d use pages and custom fields… where you make the “bed and breakfast” page, then set up each location that is a bed and breakfast as a custom field… maybe using the c2c_custom_fields plugin (https://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/)

    Then set up your html for the parameters of the c2c_get_custom(key,before,after,between, etc) per the instructions page for the plugin.

    I use this plugin a lot and custom fields a lot… they make it easy to display data for the page…

    the only issue I have with the plugin is that the $order variable doesn’t seem to work at all (anyone out there with an answer for that?).

    Not sure about the tagging aspect… you can create your own custom field key and only those entries using that key will be displayed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘posts or pages?’ is closed to new replies.