How to Limit Scripts to Specific Download pages; Don’t load scripts on homepage

in Download Manager Free

Viewing 2 posts - 1 through 2 (of 2 total)
Jan 31, 2023 at 9:33 pm
#182905
Participant
N towns
OP

Does this plugin have any features to only load the plugin on certain types of pages? For example, only load all the necessary js/css on single posts, but not on my homepage. I’m trying to optimize my site. If not, is there some php code that will make that possible for me? Thanks.

Feb 1, 2023 at 6:03 am
#182914
Spectator
Humayon

Hello,

Thank you for writing to us.

Unfortunately, as of now, there is no such option in the plugin, however, WPDM is adding a minimal amount of CSS and JS.

Also, you can still disable them totally from WPDM UI settings and implement your own custom CSS/JS.

Here’s the reference screenshot: https://prnt.sc/hFGBoTmkZ_vZ

Regards

Viewing 2 posts - 1 through 2 (of 2 total)

The topic "How to Limit Scripts to Specific Download pages; Don’t load scripts on homepage" is closed to new replies.