• Resolved webbyfoot

    (@webbyfoot)


    Hi, great plugin, is there anyway to animate the automated blog entries on an archive page? The same for each block would be fine,

    Thanks

    John

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support irinelenache

    (@irinelenache)

    Hello @webbyfoot,

    Thank you for using our plugin!

    Unfortunately, the animations can be added only to Gutenberg blocks, so the behaviour can be achievable only if you use a Block theme, not a classic one.

    I hope this helps! Best regards,

    Irinel

    You can enqueue the animation files yourself in the theme, then use the classes in the template pages.

    add_action( 'wp_enqueue_scripts', 'anim_all_pages' );
    
    function anim_all_pages() {
    wp_enqueue_script('otter-animation-frontend', '/wp-content/plugins/blocks-animation/build/animation/frontend.js');
    wp_enqueue_style('otter-animation', '/wp-content/plugins/blocks-animation/build/animation/index.css');
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Anyway to animate entries on category / archive pages?’ is closed to new replies.