Home › Forums › ACF PRO › Backend: Use Accordion in Tabs does not work › Reply To: Backend: Use Accordion in Tabs does not work
I’ve been using ACF since the first version and do not want to miss it anymore and Elliot is really doing a good job.
But the new version with the Accordion feature disappoints me a little bit:
1. The core Accordion field is called with the same class name as the plugin
Accordion Tab Field, which has been available for a long time (4000+ active installations). The result is that after updating to the new ACF version, should the Accordion plugin be active, WordPress will stop working with a Fatal error!
And the new Accordion field is using the same field name as the plugin.
Even customizing the class name in the Accordion Tab Field plugin would not solve the problem, since the field name is the same. Thus, fields previously assigned to the Accordion of the plugin would now be mapped to the core accordion. The result: The fields do not work anymore!
The plugin should also be known to Elliot and he should have taken more care here and choose a different class name / field name so that this error does not occur!
2. That the new core Accordion does not work in tabs is incomprehensible. Even with the idea of implementing such a function, one would have to come up with the idea that this function will also be used in tabs. And the Accordion plugin shows clearly that it is possible.
@elliot Why did not you contact the developer of the Accordion plugin and talk about taking this feature into the core of ACF? That would have saved everyone a lot of trouble. Why is a new feature not tested with all other modules (especially the tabs)?
Fact no. 1 should be solved very quickly, because the update of ACF would break all sites using the Accordion Tab Field plugin!!!
I hope the new Accordion function is revised very quickly, so that we could work with it reasonably.
Excuse my harsh words, but I had to get rid of that.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
ACF wouldn’t be so widely used in WordPress if it didn’t have some pretty amazing capabilities. In this article, we look at a few of the features we’ll discuss during “7 things you didn’t know you could do with ACF” at #WPEDecode later this month. https://t.co/5lnsTxp81j pic.twitter.com/Yf0ThPG1QG— Advanced Custom Fields (@wp_acf) March 16, 2023
© 2023 Advanced Custom Fields.