Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
October 9, 2014 at 1:21 pm #333186
Hi
I want to use Enfold on a client’s site but I am unable to upload the Enfold theme zip via WordPress as the host has a file size restriction and I can’t get FTP access. So I am wondering if I could safely remove some folders from the theme to reduce the size as I wouldn’t be needing a lot of the features, Woo commerce, etc on this site?many thanks
PeterOctober 9, 2014 at 11:55 pm #333502Hi envapk2!
Please try editing functions.php file. Find following
require_once( 'config-bbpress/config.php' ); //compatibility with bbpress forum plugin require_once( 'config-templatebuilder/config.php' ); //templatebuilder plugin require_once( 'config-gravityforms/config.php' ); //compatibility with gravityforms plugin require_once( 'config-woocommerce/config.php' ); //compatibility with woocommerce plugin require_once( 'config-wordpress-seo/config.php' ); //compatibility with Yoast WordPress SEO plugin require_once( 'config-events-calendar/config.php' ); //compatibility with the Events Calendar plugin
and change it to
//require_once( 'config-bbpress/config.php' ); //compatibility with bbpress forum plugin require_once( 'config-templatebuilder/config.php' ); //templatebuilder plugin //require_once( 'config-gravityforms/config.php' ); //compatibility with gravityforms plugin //require_once( 'config-woocommerce/config.php' ); //compatibility with woocommerce plugin //require_once( 'config-wordpress-seo/config.php' ); //compatibility with Yoast WordPress SEO plugin //require_once( 'config-events-calendar/config.php' ); //compatibility with the Events Calendar plugin
Then you can remove folder from Enfold folder and try uploading.
Cheers!
YigitOctober 10, 2014 at 11:01 am #333793Thanks Yigit
Is it possible to remove the config-layerslider is a similar way?
October 10, 2014 at 6:05 pm #333994Hi!
Yes, please add following code to Functions.php file
add_theme_support('deactivate_layerslider');
and remove the folder from the theme
Regards,
YigitOctober 10, 2014 at 11:36 pm #334113Hi Yigit
That’s great.
many thanks
Peter
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
- The topic ‘Reduced file size of theme upload’ is closed to new replies.