• Hi,

    i like simple blocks and your block is such a block.

    Must the most necessary features – no unnecessary stuff or confusing settings.

    But this code block needs to be “is_admin()” only:

    
    wp_register_style(
        'oacs-image-slider-blocks',
        plugins_url( 'css/editor.css', __FILE__ ),
        array( 'wp-edit-blocks' ),
        filemtime( plugin_dir_path( __FILE__ ) . 'css/editor.css' )
    );
    wp_enqueue_style( 'oacs-image-slider-blocks');
    
  • The topic ‘Please fix this’ is closed to new replies.