Scripts Manager

With this powerful feature, you will be able to enqueue and register scripts and styles and trigger them the same way as any other code you are writing inside Scripts Organizer. dPlugins work perfectly together and cross-functional so what you register in Swiss Knife it will be visible here as well and vice versa. This feature is not for writing the code, it's for including libraries suck as GreenSock or Bootstrap.

Enable the feature

This feature is not enabled by default and you need to do it manually. Go to Scripts Organizer in the admin menu and find the "Features" sub-menu. From there select "Enable Scripts Manager" and save changes. After you have saved the changes, reload the page to be able to see the new sub-menu "Scripts Manager".

features

Add Script or Style

Once feature is enabled open sub-menu "Scripts Manager". Hit "+ Add New Script".

New block will be displayed with several options.

add new
register script

Script Name

Use this field to describe your included file name.

Script Type

Choose if file you are including is JavaScript or CSS

Location

Choose if file you are including will be included in the Header (before opening body tag) or the Footer (before closing body tag ) of the website. For best performance include CSS in the header and JavaScript in the footer.

Include type

Enqueue

Enqueued script will run on every page of the website.

Register

Register script will be pre-loaded on the website but not injected into the page.

You will need to trigger it manually. This is good if you don't want to have the script on every page of the website.

To trigger the registered Script or Style go to Scripts inside code editor and under scripts manager settings select script. The script will be triggered based on the above-provided conditions.

Frontend only

If this is active this script will be available only for users who are not logged in. This is good if you don't want that script is interfering with builders.

Upload file (self-host) or paste CDN link

Here you can paste links from CDN or a relative links from WordPress installation.

Besides pasting links you can self-host scripts by yourself as well. Press the "Up Arrow" icon and WordPress Media Library will be prompted. Drag and drop file and link will be autogenerated by WordPress.

Note: Upload Scripts and Styles is not allowed by default by WordPress.

To allow it go to the Features Sub-menu and activate: Allow CSS/JS Uploads. For best practices disable this feature after you uploaded needed scripts.

Click to copy

This will generate code that you can copy in php blocks and Enqueue (inject) script on only needed pages.

This option is available in edit script mode and when script is collapsed.

copy
copy2

Unlimited websites

Lifetime support

Documentation and support

More features comming soon

One price,
Lifetime updates and support

$

45

Price will rise as we add more features
Payments are secured with Stripe and PayPal

30-Day Money-Back Guarantee

Probably you will never need this with our owesome products but here it is just in case. If you aren't completely satisfied within 30 days of purchase, you're more than welcome to get a full refund!
Contact support
Copyright © 2020 dplugins LLC
All Rights Reserved.
Privacy Policy

Newsletter

Be the first one to know the news!