Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused blocks still load scripts? #204

Open
eduwass opened this issue Feb 7, 2024 · 2 comments
Open

Unused blocks still load scripts? #204

eduwass opened this issue Feb 7, 2024 · 2 comments
Labels
enhancement New feature or request Pro Ghost Kit Pro

Comments

@eduwass
Copy link

eduwass commented Feb 7, 2024

I noticed that all Ghoskit Block scripts were loaded on my page:

scriptUsage@2x

CleanShot 2024-02-07 at 09 54 51@2x

This is even when the blocks are not used. I also tried deactivating the blocks in /wp-admin/admin.php?page=ghostkit, but the scripts still seem to load.

It would be good if this could be done in a more efficient way with performance in mind.

Thanks!

@nk-o
Copy link
Collaborator

nk-o commented Feb 8, 2024

Thank you for the info. This is related to the Pro plugin, and we will fix it in the next major Pro release when the plugin will be standalone and will not require the Free plugin to be active. It should be released somewhere in March.

@nk-o nk-o added enhancement New feature or request Pro Ghost Kit Pro labels Feb 8, 2024
@eduwass
Copy link
Author

eduwass commented Feb 8, 2024

Hi @nk-o that sounds great 🙌 Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Pro Ghost Kit Pro
Projects
None yet
Development

No branches or pull requests

2 participants