Remove Code From Specific Pages
Written by the Divi Engine Documentation Team
Description
This advanced feature allows you to remove unused scripts that are being loaded from specific pages. Please use this feature with caution.
Step 1: Enable Nitro Minify
Head over to Divi Nitro > Nitro Minify and enable the frontend helper.
Step 2: Click Nitro Minify
Head over to your page and click Nitro Minify to see the scripts being loaded.
Step 3: Copy The Code
Copy a script being loaded but not being used.
Step 4: Add Code Into Except Queue
Go to the backend of the page and look on the right-hand side of the page for the except ques. Add the unused JS into the top queue and unused CSS into the bottom queue. Remember to only add scripts that are being loaded but not used.
Step 5: View Remove Script
View the frontend of your page using the Nitro Minify helper and you will see the script gone. This will speed up the loading of this page since the script will not be loaded.
More Support?
Please email us at [email protected] if you are unable to get Divi Nitro working.