Answer the question
In order to leave comments, you need to log in
How to display fields generated in function php?
On my multisite, I decided to make one field for all subdomains. To do this, I wrote an instruction for the fields in function.php.
if( function_exists('acf_add_local_field_group') ) {
acf_add_local_field_group($array);
}
Answer the question
In order to leave comments, you need to log in
If I understood correctly ... something like this ... correct the current for yourself, I hastily wrote as an example to understand the logic will go)))
Have a look at jQuery's toggleClass method.
There are also examples.
api.jquery.com/toggleclass
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question