Admin Column: Lots of Duplicates.

Support MB Admin Columns Admin Column: Lots of Duplicates.Resolved

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #41711
    PhilippPhilipp
    Participant

    I am not sure why, but the admin columns is showing me lots of dupliactes of the same rather than the correct choices.

    [img]https://i.imgur.com/K4P81De.png[/img]

    Is it because I am using several Taxonomy Fields that query from the same taxonomy with different query args?

    [img]https://i.imgur.com/1jgubzY.png[/img]

    Dont know how to solve this, would love to get your help!

    Thanks,
    Philipp

    #41712
    PhilippPhilipp
    Participant

    Pictures didnt work, here they are:

    #41720
    PeterPeter
    Moderator

    Hello,

    The taxonomy field set and get the post terms so if you use many taxonomy fields, they would display the same value. You can use the field taxonomy_advanced to set the post meta. Please read more on the documentation
    https://docs.metabox.io/fields/taxonomy/
    https://docs.metabox.io/fields/taxonomy-advanced/

    #41748
    PhilippPhilipp
    Participant

    Thank you, this worked! 🙂 🙂

    #41956
    PhilippPhilipp
    Participant

    Hello Peter,

    I am still struggeling with this topic. Your recomendation to use Taxonomy Advanced instead of Taxonomy did solve the duplicate admin column issue, however it gave me new problems, since the taxonomy advanced field does not set the post terms.

    I need to set the post terms, hence I switched back to Taxonomy Field and get the Problem with the Duplicate Admin Columns again.

    I am really struggeling with this: How to solve this?

    #41964
    PeterPeter
    Moderator

    Hello,

    Then you need to remove all other taxonomy fields for that post type and keep only one taxonomy field.

    #41966
    PhilippPhilipp
    Participant

    Hello Peter, thanks for the quick answer! Using only one taxonomy field is not applicable for me, since I need multiple Taxonomy Fields. However, I need the field to set the post term, since I want to filter it with a WP Gridbuilder facet – and since reading this Metabox Article I know that I need taxonomy to group posts together, otherwise the filtering process will be really slow.

    So what is my way to go forward?

    #41967
    PhilippPhilipp
    Participant

    See here, I made a screenshot of my CPT: https://imgur.com/fww02F7

    #41969
    PhilippPhilipp
    Participant

    I tried to build everything with only one taxonomy field as you suggest: With this approach it does not look good in the backend, since there is no good seperation between the different parent terms - see here: https://imgur.com/wxIzkKv

    Also, and this is the bigger problem: With this approach I cannot fetch dynamic data for my Single Template, since its all in one custom field (taxonomy) rather than differerent custom fields as before (taxonomy advanced).

    I think I am doing something wrong, can you please check and help me find the solution? <3

    #41971
    PhilippPhilipp
    Participant

    Hello Peter,

    so I think I had a big misconception about this. The solution was easy: Set up several Custom Taxonomies and assign it to the same CPT. Now I select my taxonomies in the sidebar and it works as it should.

    This ticket is resolved.

    Thanks!
    Philipp

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