I’m not the developer of this plugin, I just use it a lot and help out on these forums. While the developer is free to incorporate these into the plugin I can’t say if that will happen or not.
There is a built in location rule for Parent Page and I have two custom location rules, one for grandparent page and the other for ancestor page. The ancestor page will put a field group on any descendant of the selected page. That’s probably as far as I’m going to do with this. The grandparent code could be easily modified to target specific depths.
Appreciate this is very old, but this code still works and I just wanted to say thank you this is fantastic! It would be great to have it in the core, even if just to prevent custom code breaking in the future. Still works now though! Thanks
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users