I would add a custom taxonomy called “wine” as well. You can use this taxonomy to associate reviews about the same wine and also to associate the “wine” custom post with the taxonomy. Then you can run a query to get all “review” posts that share the “pinot” term in the “wine” taxonomy, for example.
This makes it easier to group posts, custom posts, and pages without needing to know $post->ID
for anything.
Justin Tadlock has written a fantastic explanation of custom taxonomies if you need a place to start …
Related Posts:
- How to change permalink structure for custom post type and it’s taxonomies?
- Conditional for single-{post-type}.php
- Get list of all registered post types slugs
- Add Content to Page without shortcodes
- How to build a complex page structure
- Proper way of making custom post type landing page or archive page
- Custom post status and preview
- rewrite get parameter with custom post type
- modify all posts of a category to “no comments allowed”
- How to get_queried_object on multiple objects?
- How to not allow custom roles to edit published custom post types?
- Count number of posts which exist in 2 taxonomies?
- Change permalink structure for custom post type
- Pagination gives 404 error
- How can I add columns to custom post tables
- How do you use JavaScript to detect the homepage
- wordpress 3.4 template files in subdirectories
- I am trying to output portfolio items with a picture. This code doesn’t seem to be working. What am I doing wrong?
- Help splitting a custom post type archive into “past” and “upcoming”
- Count all comments of a custom post type
- Custom fields in Permalinks?
- Custom taxonomy template for multiple custom post types
- How to debug a blank page?
- Conditional tags don’t work
- How can I create a custom meta box to add an mp4 video to a page?
- Add/Remove current_page_parent class
- Pull a post based on a meta value in a custom post type
- Dynamic page outside WordPress
- Custom post type permalinks
- Importing posts from XML into custom post type
- Use different taxonomies in different custom post types’ permalinks?
- Custom post type menu missing after 3.0b2 -> 3.1.2 upgrade
- Email friend for each Custom Post Type posts on a page
- Exclude Post Type from Jetpack Infinite Scroll
- Help need making decision. Ads rotating site on wordpress
- Categories of custom taxonomy don’t show any posts
- Can a Custom Taxonomy be named “category” like normal Posts?
- How to use terms from the same custom taxonomy in different roles in a custom post type?
- Trouble with CPT Child 404
- Able to edit custom post, but unable to create new custom post when within submenu. What capability is missing?
- customise template to only show custom post type entries
- Shortcode to display Staff post type based on Location post type and Specialty post type
- Deleting taxonomy terms and relationships on a custom post_type when a user is deleted
- Foreach inside shortcode not working as planned
- cutsom posts 404ing
- Associating two custom post types
- How can I get this request to use the Custom Post Type page template instead?
- Include custom taxonomy term in search
- Save Multiple Metabox values
- How to query 2 custom post types that need to share a slug?
- Get rid of “trash can” for custom post type
- Why does accessing url by category cause issues with post types?
- Custom post types problem
- How to get postname in custom page?
- How exclude or skip post type with get_next_post_link
- Display a post from custom post type only if all the selected taxonomies and custom field value matches the record
- How to loop through custom taxonomies and sub taxonomies and display posts?
- Render a Post or Page using the correct file
- WordPress Count posts within a custom post type
- Send email messages after comment was submitted
- Custom Post Type: Show Similar Posts
- Twitter Product Cards
- Get uri of CPT archive page
- comments hooks on custom post type
- custom post template ignored after altering permalinks
- Query Custom Post Type by Taxonomy
- Display ONE taxonomy and its assigned pages
- register_post_type does not work
- Creating a custom page post type just like the original “pages” post type using CPT UI
- How to stop the custom post type URL from the google search?
- Create a CPT to edit Shortcodes Atts
- Cannot use object of type WP_Error as array display category
- Cannot get to work tax_query array for terms
- Error in the page of a CPT file in WordPress
- CPT UI: Connect a custom post type to a custom post type
- exclude admin archive edit screen
- Custom post type pagination problem – page 1 and 2 show same content
- List posts of custom post type under category name
- What’s the most efficient way to get two queries based on an if statement?
- How to get adjacent_post custom_field value
- Custom Post Type rewrite url to /category/pagetitle [duplicate]
- Add featured image programatically to custom post type
- Insert single CPT items every x posts of another CPT
- Custom Post Type Taxonomy – Permalinks generating, but posts not found
- Custom post type URL – filter by taxonomy
- how to edit custom fields of type gallery from front-end
- Disable Facebook Comments Automatically On CPT
- WP_Query with custom post type search showing all results every time
- How do populate a column when listing custom posts?
- Archive page for a custom post type using WPML
- Custom Post Type Child Pages
- Forms with multiple element types using custom post types
- query_post while (have post) get_template_part()?
- white page after php code insert for custom post type [closed]
- Custom Taxonomy in Permalink from post type
- What is the most efficient way to manage changes my product comparison tables?
- Inserting two categories
- How to manage a bookstore
- How to set up a echo? [closed]
- Add post id to url instead of WordPress default -2 suffix