Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Support request] Masonry.js

Home Forums Support [Support request] Masonry.js

Home Forums Support Masonry.js

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #544749
    Ryan

    I notice it seems like your theme is loading the wordpress masonry.js file. If I’m not using a masonry layout for my blog, can I disable loading of this script? I apologize if it’s not your theme loading the script but it seems to be. Also, would it be possible to combine some of your scripts and css files, there are a lot of very small files loaded like a11y.min.js and generate-dropdown that are only a few lines of code?

    GeneratePress 2.0.2
    #544885
    Tom
    Lead Developer
    Lead Developer

    If you don’t have masonry enabled in “Customize > Layout > Blog”, GP won’t load masonry.

    If that option is off and masonry is still loading – it may be a plugin you have.

    Multiple small files are actually better for page speed than one big file, as of HTTP/2.

    However, you can use a plugin like Autoptimize to combine them 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.