Taxonomy vs. taxonomy advanced

Support MB Term Meta Taxonomy vs. taxonomy advancedResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #47319
    seaj1oneseaj1one
    Participant

    Would anyone know the benefit of using Taxonomy vs. taxonomy advanced?

    I understand that taxonomy advanced saved the data in the database. I've looked through previous forum tickets but all I xan see is that it stores the info in the database but non explain the pros and cons.

    Why would you use Taxonomy or taxonomy advanced and why?

    #47327
    PeterPeter
    Moderator

    Hello,

    The difference between taxonomy and taxonomy_advanced fields is noted in the documentation
    https://docs.metabox.io/fields/taxonomy-advanced/

    - taxonomy: set the post terms, data is stored in the table wp_terms
    - taxonomy_advanced: set the post meta, data is stored in the table wp_postmeta, like other custom fields

    you can also follow this article https://metabox.io/custom-fields-vs-custom-taxonomies/
    to know when using a custom field or custom taxonomy.

    #47331
    seaj1oneseaj1one
    Participant

    Hello

    Can you provide use cases why someone would use taxonomy_advanced over taxonomy? What are the pros and cons over each?

    #47341
    PeterPeter
    Moderator

    Hello,

    >> Can you provide use cases why someone would use taxonomy_advanced over taxonomy?

    In some cases, you have to use the taxonomy_advanced field: subfield in a group or field in a block. Because the taxonomy set post terms so it won't work in those cases.

    Besides that, when you want to save the field value as post meta instead of post term, you will use the field taxonomy_advanced.

    You can read this article as a reference https://metabox.io/custom-fields-vs-custom-taxonomies/

    #47369
    seaj1oneseaj1one
    Participant

    Hello Peter

    I'm happy with your explanation and happy for you to resolve.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.