Admin Column: Lots of Duplicates.
Support › MB Admin Columns › Admin Column: Lots of Duplicates.Resolved
- This topic has 9 replies, 2 voices, and was last updated 1 year, 10 months ago by
Philipp.
-
AuthorPosts
-
May 4, 2023 at 11:21 PM #41711
Philipp
ParticipantI 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,
PhilippMay 4, 2023 at 11:21 PM #41712Philipp
ParticipantPictures didnt work, here they are:
May 5, 2023 at 6:46 PM #41720Peter
ModeratorHello,
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/May 8, 2023 at 1:21 PM #41748Philipp
ParticipantThank you, this worked! 🙂 🙂
May 27, 2023 at 7:46 PM #41956Philipp
ParticipantHello 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?
May 28, 2023 at 3:04 PM #41964Peter
ModeratorHello,
Then you need to remove all other taxonomy fields for that post type and keep only one taxonomy field.
May 28, 2023 at 4:33 PM #41966Philipp
ParticipantHello 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?
May 28, 2023 at 4:38 PM #41967Philipp
ParticipantSee here, I made a screenshot of my CPT: https://imgur.com/fww02F7
May 28, 2023 at 6:53 PM #41969Philipp
ParticipantI 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
May 29, 2023 at 8:59 PM #41971Philipp
ParticipantHello 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 -
AuthorPosts
- You must be logged in to reply to this topic.