Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Declare and set up a custom post type for adventure travel results #7

Closed
postphotos opened this issue Mar 23, 2018 · 3 comments
Closed
Assignees

Comments

@postphotos
Copy link

postphotos commented Mar 23, 2018

As an editor or author of a site running the Travel theme, I should have a way to built custom content for "adventure" travel results.
AC1. A custom post type should be declared.
AC2. Some basic output (the_title, the_content, etc. or just whatever's inside single) should be built so that single views work for this post type.

@miina
Copy link
Contributor

miina commented Mar 29, 2018

@postphotos
Quick question to clarify:
Would this ticket be about the custom template for the search results page?
Or is this for the custom post type "Adventure" that would be displayed on the "travel results" page?

@postphotos postphotos changed the title Build a custom post type for “travel results” Build a custom post type for adventure travel results Mar 29, 2018
@postphotos
Copy link
Author

postphotos commented Mar 29, 2018

Hi @miina, The word build here was vague - sorry for the confusion! Not sure how we'll handle search or taxonomic listings yet, but I've updated the title of the ticket and added a formal story and AC inside the description here.

A further set of issues will outline blocks for this page so we can allow for parallel completion of tasks here.

Whether that is declared as adventure or travel-results I don't really care either way. Adventure sounds like more fun!

@postphotos postphotos changed the title Build a custom post type for adventure travel results Declare and set up a custom post type for adventure travel results Mar 29, 2018
@miina miina self-assigned this Apr 5, 2018
@miina
Copy link
Contributor

miina commented Apr 6, 2018

Some details about adventure fields:

  • needs to have a start date and end date;
  • Needs to have a price;
  • Needs to have a rating (probably that's not manually editable but maybe would need registering to show up in REST?);

@postphotos Are there any additional fields that I forgot about?

cc @DavidCramer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants