Home › Forums › Add-ons › Flexible Content Field › Nested Flexible Content Clones › Reply To: Nested Flexible Content Clones
I winded up getting rid of clones ALTOGETHER. They caused a lot more issues then I would have expected. I instead wound up creating more nested flexibles by making copies and moving them to the other areas and renaming them.
This actually then created a whole issue of itself as too many requests were being made to the DB so trying to load the dashboard for changes is extremely slow.
It didn’t wind up effecting the front end though so we are going to roll with it for now and then redo the setup so that less queries are made.
I made the mistake of making my modules their own grid containers rather then making a section that determine the grid first and then drops code into it. Swapping that around will cut down the code by about 66 percent or more.
So it wound up being
Bring up a list of Layouts
Choose Layout X
Layout X loops through and allows for you to grab the initial list to embed in there but runs a script to check which one is being currently called so it can’t call itself and create an infinite loop.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.