Animation for block ACF
-
I try to apply animation “class” on my block acf
Does the plugin work with ACF ?
Yes
just forget apply className in my block
https://www.advancedcustomfields.com/resources/acf_register_block_type/#examplesCreate class attribute allowing for custom “className” and “align” values.
$className = ‘testimonial’;
if( !empty($block[‘className’]) ) {
$className .= ‘ ‘ . $block[‘className’];
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Animation for block ACF’ is closed to new replies.