I want to remove all the WooCommerce code from my Sparkling theme.
Can somebody tell me how to do this? Which files?
I want to remove all the WooCommerce code from my Sparkling theme.
Can somebody tell me how to do this? Which files?
Hello @wp-el
Removing all the Woocommerce-compatible code from the theme is not a simple task. There are numerous files where Woocommerce files and dependencies are declared, and this will require a thorough review and a good understanding of WordPress development, its definitely a question of customization.
May I know why you want to remove those files? The good thing is that if Woocommerce is not active then those files are not working.
Regards,
Thank you for your response @colorlibsupport
The reason for this is that I want to make the website load faster, remove unnecessary code.
Hey @wp-el
Okay, that makes sense. However, please consider that if you are not using WooCommerce, then those files are not functioning and you won’t sacrifice any performance.
Regards,
Yes, I understand… I’m not a webshop, just a simple blog website.
Any suggest which files use WooCommerce code?
Hi there,
I’m sorry but, removing all the Woocommerce-compatible code from the theme is not a simple task. There are numerous files where Woocommerce files and dependencies are declared, and this will require a thorough review and a good understanding of WordPress development, it’s definitely a question of customization.
Regards,