• Hello everyone,

    I’m just starting with WP so please bear with me.

    I need to create posts with lots of meta-data for a theater plays (opening date, closing date, country, theater name and URL, cast list (role and name), photos and some others).

    I was wondering what is the best way to do it – using custom fields or taxonomy? I’m confused and don’t really understand the differences between them. I would really appreciate any advice!

    Also, how is it better to implement the “cast” feature where I will have lots of role & name records?

    Many thanks in advance,
    Dasha

Viewing 1 replies (of 1 total)
  • Hi Dasha,

    I think since you posted this 7 months ago, you already solved it, I’m replying for the rest.

    Taxonomies are categorizations, they are divided in hierarchical (like post categories) and non-hierarchical (like post tags).

    Custom fields are data that you add to a custom or built-in post type.

    Dates should be custom fields (so the user can search from/to date, or see what’s on in the current week).
    Countries could be a hierarchical taxonomy.
    Cast list should be a non-hierarchical taxonomy.

    Theater could be a non-hierarchical taxonomy, but there wouldn’t be a way to add the URL, you need custom code for that.

    I know I didn’t explain very well, but that’s how I’d do it.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Fields vs Taxonomy’ is closed to new replies.