I didn’t notice any performance issues or a flash of unstyled html, but it probably depends on what your JS is doing. Mine was for a slider, and I believe I had all the slides but the first hidden via CSS until the script was fully loaded. So you may have to do something like that, style the element for before the script loads, then for after. Many scripts will add a class to the relevant element once the script is loaded, making it pretty easy to manage.
Did anyone ever figure out what was going on with this issue? I have a client with Bluehost and I’m getting a similar error:
Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.
I get in an options panel for a url field. Oddly enough, other url fields within that panel update just fine. But the three on this tab do not.
Thanks! I’m going to give your plugin a try.
I thought it might be something like that. Since I have two different fields (same field names but different keys) I’ll have to use something like this, yes? https://github.com/Hube2/acf-filters-and-functions/blob/master/acf-reciprocal-relationship.php
But if the field is has the same key on both sides, I can use the the normal snipped (https://www.advancedcustomfields.com/resources/bidirectional-relationships/) but just change
I figured it out. Plugins load in alphabetical order. My plugin had “45” in its name, so it was loading before ACF. I renamed it “Forty-five” and problem solved.
Update: the relationship field seems to show posts no matter what their post_status is. Even drafts show up in the loop (on the published page). Is there a way to filter out everything except for published posts?
Actually, the solution is right over here: http://support.advancedcustomfields.com/forums/topic/reverse-query-relationship-subfield-which-is-nested-in-a-repeater-field/
I should have googled better before posting. 🙂
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!