• Resolved Chuckie

    (@ajtruckle)


    Hi !

    How can we animate reusable blocks? For example, I have a “downloads” block that shows on a lot of pages.

    Thanks.

    Andrew

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Chuckie

    (@ajtruckle)

    Resolved. Using this code exposes a menu item that lists all of the reuseable blocks:

    
    /**
     * Reusable Blocks accessible in backend
     * @link https://www.billerickson.net/reusable-blocks-accessible-in-wordpress-admin-area
     *
     */
    function be_reusable_blocks_admin_menu() {
        add_menu_page( 'Reusable Blocks', 'Reusable Blocks', 'edit_posts', 'edit.php?post_type=wp_block', '', 'dashicons-editor-table', 22 );
    }
    add_action( 'admin_menu', 'be_reusable_blocks_admin_menu' );
    

    Then, you can edit a block and you can adjust the animations on the block elements.

    Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Glad to know that you were able to solve it. @ajtruckle ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reusable blocks’ is closed to new replies.