using collapse-o-matic with acf
-
We are using acf for our site and would like to code one of our fields within a collapse-o-matic toggle – how can I implement collapse-o-matic within the functions.php code that I am using for acf.
if ( !function_exists( ‘display_article’ )):
function show_one_source() {
the_sub_field(‘source’);
// we would like this field in a toggle
the_sub_field(‘translation-content’);
// end field in a toggle
}
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘using collapse-o-matic with acf’ is closed to new replies.