23 posts
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
  • Has been part of the Envato Community for over 1 year
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
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
Themethon says

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

23 posts
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
  • Has been part of the Envato Community for over 1 year
themedesignguru says

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

5 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
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
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
  • Has been part of the Envato Community for over 1 year
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.

136 posts WordPress Wizard
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Won a Most Wanted contest
+6 more
CODE9RS 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
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
  • Has been part of the Envato Community for over 1 year
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?

3303 posts
  • Provided great contribution to our forums
  • Nominated Community Superstar of the month
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
+18 more
dtbaker Moderator says

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

1498 posts The Last Man Standing
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
+9 more
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
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
  • Has been part of the Envato Community for over 1 year
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?

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by