• Hi all ??
    I’m thinking that will be so useful to have metadata & supports for taxonomies as for posts.

    Imagining a classic scenario like a Movie Database:
    We have Custom Post Type “Movies” and custom taxonomies “Directors, Actors, Genres, …”, but our hypothetical client needs to edit his “Christian Bale Page” with a lot of informations, so he needs (featured image, editor, excerpt and custom fields).

    For now I’m using a combination of taxonomies and pages with the same slug, but it’s a little bit complicated.

    For example:
    Custom Post Type Movie
    Taxonomies Actors: Christian Bale
    Page Actors
    Sub page: Christian Bale

    And every time I need to match the slug and redirect (i.e. in the breadcrumb) the taxonomy to the page.

    I hope my issue is clear, and I ask you sorry for my poor english… I’m improving it, as well as WordPress development ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • In a situation like you’re describing you’d be much better off setting up something with custom post types for actors (as well as directors, etc, as much as you need) as well as movies, and creating your own link tables in the database to link the records. This would let you have all of the extra info that you want to have for both types, as well as removing the issues that you have with trying to use duplicate slugs for taxonomies and pages.

    You’re absolutely right! In fact in the last two days I choose to create a list of checkboxes populated by a WP_Query so I can easily have the custom field equal to the slug of custom post type ??

    resolved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Meta capabilities for Taxonomies as Posts’ is closed to new replies.