Scripts and styles: leave out files a page does not need

Themes, plugins and builders often load their files on every page. The Scripts and styles tab (Baza Helper > Scripts and styles) helps you leave out what a page does not need, with any theme or builder.

Find candidates

  1. Press Scan the home page. The tab lists the scripts and styles the page printed.
  2. Tick what the page does not need. A tick adds a rule for the place chosen in Where in the form below the list. Clear the tick to remove that rule.
  3. Press Save changes, then open the page and test it.

Always check the page afterwards: a script that looks unused may run a popup, a form or a menu.

Rules as a list

The Rules box shows every rule as one row: the file, the place where it is left out and a Remove button. The same file can be left out in several places. Add one rule for each place, for example one for the home page and one for the addresses that start with /blog/.

Add a rule yourself

  1. Type the File handle. The field suggests the files found by the last scan.
  2. Choose Where: the whole site, the home page only or a page or section….
  3. For a section type the Address starting with, for example /blog/.
  4. Press Add the rule, then Save changes.

If the handle is empty, or a section has no address, the page asks you to fill it in.

Edit the rules as text

Open Edit the rules as text to see the stored rules. There is one WordPress handle per line. Add @front after a handle for the home page only, or @/blog/ for the addresses that start with that path. A line without a place is a rule for the whole site. jQuery is never removed.

wp-embed @front
wp-embed @/blog/
dashicons

Where the rules apply

  • Nothing is changed in the admin, in previews or in the Elementor editor.
  • On the site itself the rules apply to everyone, including you when you are logged in, so you can check the result.

Elementor

When Elementor is active, an extra Elementor tab appears with its own options. It is not a switchable tool, it shows only while Elementor is active.

Last Modified: 01.11.2026