23 posts
  • Exclusive Author
  • United Kingdom
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
themedesignguru says

Hello everyone, I’m looking for an advice on how to bundle heavy plugins with theme?

I would like to release a theme with VisualComposer(6.5MB) and LayerSlider (7MB) included. What’s your preference? Do you put heavy plugins inside a theme and activate them using TMG or put them in a separate from theme folder and describe in documentation that these plugins needs to be installed manually? What can you recommend based on your experience?

Thank you!

5 posts
  • Europe
  • Exclusive Author
  • Has been a member for 0-1 years
Themethon says

Bundled plugins must be included via the TGM Plugin Activation class. See WordPress theme submission reguirements for more info.

23 posts
  • Exclusive Author
  • United Kingdom
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
themedesignguru says

Then it makes impossible for users to install theme using admin panel.

5 posts
  • Europe
  • Exclusive Author
  • Has been a member for 0-1 years
Themethon says

Then it makes impossible for users to install theme using admin panel.

I don’t see why not. Your plugins will “live” in the theme’s directory. You will ship it compressed with .zip extension and everything will go perfectly fine.

23 posts
  • Exclusive Author
  • United Kingdom
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
themedesignguru says

VisualComposer(6.5MB) + LayerSlider (7MB) is ~14MB + 4MB theme files = ~18MB final theme weight.

Most of the hosting companies have a limit of 5MB per file upload.

115 posts WordPress Wizard
  • Microlancer Beta Tester
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
XiaoThemes says

TMG supports externally hosted plugins right? I think it’s possible use a URL to request the file, instead bundle it inside the theme…

23 posts
  • Exclusive Author
  • United Kingdom
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
themedesignguru says

Right, but I can’t see anyone use it this way. Moreover, can we host premium plugins like Visual Composer on external host? How to protect these sources from pirate downloads?

2820 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

Please ask the authors of VisualComposer and LayerSlider. They may have a smaller copy of the plugin that you can bundle.

845 posts
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
  • Sold between 50 000 and 100 000 dollars
ImanGM says

Please ask the authors of VisualComposer and LayerSlider. They may have a smaller copy of the plugin that you can bundle.

Hi,

I’ve reduced the size of my VC to 1.8MB. There is a folder in /assets/lib which some of the JS plugins are added there with their preview and demos. I’ve removed all the demo data (Images and …) and the size of the plugins is ok right now.

Cheers,
Iman

23 posts
  • Exclusive Author
  • United Kingdom
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
themedesignguru says

Thank you dtbaker and imangm for valuable tips! I already managed to reduce VisualComposer size to 4MB by only deleting demo content as you said! It’s sad that I will have to repeat this process every time they update a plugin 8-(

I still think that hosting these plugins on a private BitBucket repo can make a trick, but have not enough information/knowledge on how to make it secure.

I’m wondering if Envato can come with some sort of solution for it in the future to make this process easier and smooth for the end users. On their new requirements page there is the next text:

Bundled plugins must be included via the TGM Plugin Activation class, which manages plugin dependency and plugins can be installed from WordPress.org or a bundled ZIP file (more options coming soon).

(more options coming soon) brings me some hope or I’m wrong?

by
by
by
by
by
by