Hello
I was wondering if there is a way to disable certain plugins from all product pages. Note that all products on my website have this permalink https://per-vurt.com/product/……….
I have 30 plugins, and apparently they are loading on each and every product. However i do not want them all to load, they are making my product page very slow to load
Another request:
I have noticed that every time i am logged as an admin, and make any admin moves (such as visiting the plugins tab, or checking products, pages, posts, editing anything in there) i get a very low ram memory and sometimes the website crashes because of that … do you think that i need to turn off the plugins for my admin user role ? or what is recommended to solve this issue >
Thanks
Hey Mohamad,
Thank you for the inquiry.
This is kind of complicated, but it probably depends on which plugin is installed — on what it does or adds to the page. If it loads a script or a certain file and the plugin used the wp_enqueue_script to do it, then you should be able to prevent those files from loading using the wp_dequeue_script when a product page is viewed.
Or you could try one of these plugins to control if a plugin should load on a specific page or not.
// https://wordpress.org/plugins/plugin-organizer/
// https://wordpress.org/plugins/plugin-load-filter/
Best regards,
Ismael
Hello
Thank you for the reply .. i will look into that