• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

BUG Files called by plugins not showing up?

muratdinc

New member
Messages
2
Likes
0
Points
1
#1
Hello,

Some plugins work on some pages and call various files from Wordpress. I wanted to hide them on unused pages. Isn't that the point? Why are the files showing?

--- Mailster - Email Newsletter Plugin for WordPress
https:// domain .com/wp-content/plugins/mailster/assets/js/form.min.js
This file is not supposed to be run in categories and pages.
--- Search & Filter Pro
https:// domain .com/wp-includes/js/jquery/ui/core.min.js
https:// domain .com/wp-includes/js/jquery/ui/datepicker.min.js
These work on a single page, but are called on all pages.

Best regards.
 

Temyk

Developer & Support
Staff member
Messages
877
Likes
33
Points
28
#2
Hello.

This is what the Assets Manager add-on is for. You can use it to disable assets on site pages. You can set up rules for disabling assets.

Code:
https:// domain .com/wp-includes/js/jquery/ui/core.min.js
https:// domain .com/wp-includes/js/jquery/ui/datepicker.min.js
These assets cannot be disabled, as they are standard in WP. Disabling it may cause problems with other plugins or the theme.