This may help others who have large multisite environments and want certain field groups to display on one or more. It’s initial scope is limited to single-site selection, but could certainly be expanded to pick up site option info or other differentiating details of the sites.
Including it as a part of an mu-plugin is highly suggested. I found it particularly useful for User Meta in a multisite case where a common set of meta is updated from a 3rd party system and only want the main site to have the group info.
Thank you for the great script. That’s exactly what I was looking for. How do I get the fields in the front? This only works on the main page where the options page is also available. unfortunately, nothing is shown on the other pages. Can you help me? Thank you in advance
the_field( ‘telefon_opt’, ‘option’ );
Viewing 4 posts - 1 through 4 (of 4 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
2022 was a big year for Advanced Custom Fields, with more capabilities, a new generation of ACF Blocks, a refreshed UI, and a new home. Our year in review post looks at advancements we’ve made and offers a glimpse of the future. https://t.co/HahJUCcyH4