Your idea for two custom post types is a good start, but you may wish to consider using taxonomies for the activities and the custom post type for the location.
To determine whether the activity needs to be reserved or not could be done by using a custom field and a check on the value with get_post_meta()
.
That should be enough to get you started.
Related Posts:
- Form action/link to render a plugin in WordPress front-end
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- Create page to handle form submission
- How to add a button to custom post type’s posts-page
- Exclude a term of a taxonomy with a custom post type in a search
- Is flush_rewrite_rules necessary when creating a custom post type? Why?
- Unable to filter on field on edit.php page
- Insert slider (Custom Post Type) into pages
- WP Query group/order by category name
- Save or update data when custom post published
- Using posts and postmeta table to store custom Address Book Plugin data
- template_redirect not working, apparently for no reason
- How to add multiple featured image in meta box in post editor?
- Linking three taxonomies with ACF
- How do I set the link in the Custom Post Type admin menu?
- How to List Thumbnails based on Custom Categories
- Adding Meta Boxes while Registering a Post Type in a Class
- handling csv data with a custom post type
- Problem adding column to WC Subscription [closed]
- Custom Post Type | Fatal Error on register_post_type()
- Set object terms not working on plugin activation
- Using custom page templates with plugin [duplicate]
- WordPress posts with multiple fields
- How to Submit Post Via cURL & PHP
- Custom Post Type rewrite
- Admin notice not displaying
- Insert Multiple Post with Same Publish Button
- WooCommerce registration password field not displaying
- custom post type not showing in menu
- Adding a custom post type taxonomy template in plugin
- Plugin: register custom post types, child ready and performance best practices
- How to add a custom taxonomy to show up in a custom post type menu?
- Display users uploaded files as posts
- Give a permalink to Custom Post Types without title
- changing meta value and meta key of price field
- Getting meta in editor plugin, and event triggering issue
- WooCommerce sort products by the actual product width(not the shipping width)
- Hide a widget inside a div on specific type of post
- How to use TinyMCE Editor for one of my custom post meta field?
- How to Create a WordPress Plugin With Custom Post Type/Custom Field Features?
- Allow add new post access to custom post but not wp post for some role
- How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?
- Deleting taxonomy terms and relationships on a custom post_type when a user is deleted
- Using POST method in meta box, no results
- Custom fields for custom post type
- Save Multiple Metabox values
- How to add and clear custom post types and taxonomies in a plugin? Considerations for existing data
- post_parent in custom post type
- What’s an efficient way to change the post status of many posts at once?
- How exclude or skip post type with get_next_post_link
- How do I add custom HTML to the content of an archive page’s posts?
- How to add query args to links to CPT admin submenu
- Copy order items with metadata between orders – Woocommerce
- Update Post Status On Woocommerce Payment Complete
- How to add and display custom content that is not a post
- Problem with adding custom post type meta to header by plugin
- Creating alternate meta box context locations
- Change permalink for custom_post_type using custom_post_meta (woocommerce)
- Types plugin custom post add_action hooks
- Submit Custom Postypes from frontend
- Limiting Amount of Posts in a Custom Post Type again
- Not Able to Add New Class To CPT Attachment Image
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- How to upload two input files [closed]
- Orderby custom fields is not working
- Change dynamically the dropdown list value
- Why are custom taxonomies only appearing on the edit page of one of these types, but not the other?
- How to stop the custom post type URL from the google search?
- How can i display a taxonomy? i have created a plugin and then a custom type. and a taxonomy , also i have register it
- URL issue retrieving Custom Post Types using Backbone JS API
- WordPress Custom Post Loop
- Changing CPT permalink
- Get all posts by many custom post types
- What’s the best way to do this: inquiry/ticket system?
- Custom Post Type Front Page Gives 404
- Show Post columns to specific users on condition
- Custom Post type plugin is using theme single.php and style.css
- get_permalink() of page the enclosing page not posts
- Run query on specific admin options page and send results to select field in another function
- woocommerce post_type conflict with existing post type
- call a function when insert and update a custom post type
- WP_Query doesn’t accept Category ID
- Error in WP Query. If variable is empty it is displaying previous post value
- Understanding the workflow of form creation plugin
- Custom post type not being pulled in widget
- Registering an optional custom post type from a plugin
- Generate custom RSS from a plugin
- How to create a petition like form based on custom post types?
- Issue on Counting CPT’s Under Taxonomy Term
- Custom Search Template for Custom Post Types
- Front-end form submission not creating post
- Add Excerpt On Quicksand Plugin
- Inserting into WP DB
- WP_Query wooCommerce category
- WooCommerce – Complete Order when an action occurs
- How to manage a bookstore
- Create settings page to enable or disable CPT
- Menu Structure and URL structure, with Pages and Post-Type-Posts
- Custom Post Type urls not working
- I want to show a list of post with title that have link goes to that post and icon under the specific category to which it belongs