Home › Forums › Backend Issues (wp-admin) › Defer loading Gmaps fields › Reply To: Defer loading Gmaps fields
Hi @supportjgp
Conditionally defer loading depending on wether a repeater is collapsed or not is not possible. At least not in any way I can figure out. Sorry 🙂
When we’ve had projects where we needed lots of maps/markers we built the architecture around that. So we created a custom post type which would each hold a single map (called Maps for example). Then in the relevant places we could just use a post field with multiple values or a relationship field to pull in all maps we wanted without performance issues 🙂
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.