• Resolved Jim

    (@jwmc)


    I currently use another plugin that includes tons of blocks, but I only use accordion. It has a huge css file that loads on every page. This plugin looks good, but is light on resources, load time?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    It is as light as I can make it, while still offering the functionality.

    The CSS file is 1KB. The JavaScript file is 2KB. So pretty tiny.

    You can also deregister the CSS file entirely if you plan to use your own styles in your theme:

    function pb_deregister_accordion_styles() {
    	wp_deregister_style('pb-accordion-blocks-style');
    }
    add_action('wp_enqueue_scripts', 'pb_deregister_accordion_styles');
    • This reply was modified 5 years, 4 months ago by philbuchanan.
    Thread Starter Jim

    (@jwmc)

    Thanks, looks perfect!

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