Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor when Events inherit taxonomy-terms from Productions #324

Open
carstingaxion opened this issue Nov 27, 2023 · 1 comment
Open

Refactor when Events inherit taxonomy-terms from Productions #324

carstingaxion opened this issue Nov 27, 2023 · 1 comment

Comments

@carstingaxion
Copy link

While writing my draft of a roadmap comment, I stumbled accros the functionality of automated, in other words: inherited, taxonomy terms for Event-posts coming from their related Production-posts.

This seems (to me) to be a nice candidate for an extension.

  1. I would register this as a post_type_support for the wp_theatre_event post_type. This helps capsuling the functionality.
  2. Within the rewritten code I would rely on get_post_types_by_support(), which would allow other plugin-authors to add this automatism as well or remove it at all.
  3. Next to the built-in taxonomies I could imagine, that it could also be handy for some setups to allow this automated term-creation for custom taxonomies as well.
@slimndap
Copy link
Owner

Is this about events inheriting the post-category from productions?
I think we should consider using a custom taxonomy for this. The shared use of post-categories between posts, productions and events does not make any sense and is confusing as well.
Making it easy to add multiple cusotm taxonomies sounds great (genre, tags, free/paid, age rating, disability support).

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

No branches or pull requests

2 participants