admin管理员组文章数量:1130349
I'm managing a WordPress site that many people use to manage its content. We use Advanced Custom Fields (ACF) for a few features on the site.
I have some requests to customize how a few specific ACF field groups appear in the editor.
Right now, I'm using editor-style.css and targeting them based on where they land by default in the order of ACFs. I'd much rather target them specifically, because individual users can customize the order of these field groups in their version of the editor screen.
I'd love to add a custom class, ID, or other identifying attribute to the parent element wrapping the field groups. Is that possible?
Bonus Points: Is it possible without running AJAX functions every time the editor page loads?
I'm managing a WordPress site that many people use to manage its content. We use Advanced Custom Fields (ACF) for a few features on the site.
I have some requests to customize how a few specific ACF field groups appear in the editor.
Right now, I'm using editor-style.css and targeting them based on where they land by default in the order of ACFs. I'd much rather target them specifically, because individual users can customize the order of these field groups in their version of the editor screen.
I'd love to add a custom class, ID, or other identifying attribute to the parent element wrapping the field groups. Is that possible?
Bonus Points: Is it possible without running AJAX functions every time the editor page loads?
本文标签:
版权声明:本文标题:Can I add a custom ID, class, or attribute to an ACF field group in the page editor screen? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1748624819a2291508.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论