Page or Post - what should i take ?

Support General Page or Post - what should i take ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40839
    JooJoo
    Participant

    Hello,
    i want to create a little travel website and i dont know which type i should select.

    So what would you take for hotels, or sightseeing spots ?

    post or page ?

    i can have archives for post and pages, also taxonomies...

    So what are the pros and cons for post or page, its 50/50 ?

    best regards

    #40840
    JooJoo
    Participant

    Also i need a little logic help.

    As example i want to create a travel site for the USA.

    How would you structure the custom post types ?

    So the problem is, how to combine sightseeing attractions, hotels, restaurants with cities, regions, countries

    Should i create the custom post type and create on attractions the whole cities and countries from the whole USA ?
    attractions
    - pennsylvania
    -- Pittsburgh

    And on hotels the same ?
    Hotels (CPT)
    - pennsylvania
    -- Pittsburgh

    I create a taxonomy "locations", write the whole USA down in taxonomy categories and activate it for hotels and attractions, or other CPTs i need for, right ?

    But do i have than the slug -> sitename.com/hotels/pennsylvania/pittsburgh ?

    Just a thought:
    you could write a guide @ your blog, how to best setup custom post types, taxonomies and relationships for complex travel websites... Could be good marketing and epic help for casuals like me, who want to create something bigger ^^

    best regards

    #40851
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    Page is a type of post, post type "page". You can read more on the WordPress documentation https://developer.wordpress.org/themes/basics/post-types/

    Regarding the post type structure, it depends on your requirements, you can try to use the post-type hierarchical in this case. For a complex travel website, I think using a third-party plugin or theme that supports this feature is much more than building the site from scratch. You will need to have basic knowledge of WordPress and Meta Box coding.

    There are some series about building a simple site on our blog posts, please read more here https://metabox.io/series/hotel-booking/

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.