[Resolved] Improve repeating fields for accordions
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the user wanted to know if sorting the RFG values on the backend will affect their sorting on the frontend
Solution:
Unfortunately no this is not possible. This is because the sorting of the RFG's on the frontend will always be controlled by your sort settings in the view that is used to display this.
This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Could you provide a little more context, are you referring to the accordion I assisted with previously in views ? Or are you referring to an accordion built on the backend ?
But I mean based on the logic of it, if the accordion is re-arranged on the backend, this change should be reflected on the frontend.
Could you provide a little more context, are you referring to the accordion I assisted with previously in views ? Or are you referring to an accordion built on the backend ?
But I mean based on the logic of it, if the accordion is re-arranged on the backend, this change should be reflected on the frontend.
Yes I'm referring to this accordion built in Views. My client would like to be able to reorder the accordions in the backend but the changes are not actually reflected on the frontend, even though the drag&drop tool is working in the backend.
This is that your items are sorted on the backend is the order of the field. This order is completely separate and apart from how the accordion.
So the ordering here wouldn't affect the ordering of the sorting on the frontend. I tried changing the ordering of the accordion to use the menu order, however i'm not sure where to find the accordion on the frontend.
But as mentioned previously since this is pretty much manual accordion that was built, changing the order on the post itself wont affect the frontend results.
Remember we are using a view to display the repeatable field groups so the ordering of how they appear is essentially controlled by the view ordering setting.