23 posts
  • Collector Level 2
  • Exclusive Author
  • Moldova, Republic of
  • 2 Years of Membership
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
  • 1 Year of Membership
  • Exclusive Author
Themethon
says

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

23 posts
  • Collector Level 2
  • Exclusive Author
  • Moldova, Republic of
  • 2 Years of Membership
themedesignguru
says

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

5 posts
  • 1 Year of Membership
  • Exclusive Author
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
  • Collector Level 2
  • Exclusive Author
  • Moldova, Republic of
  • 2 Years of Membership
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.

154 posts WordPress Wizard
  • Weekly Top Seller
  • Elite Author
  • Featured Author
  • Featured Item
+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
  • Collector Level 2
  • Exclusive Author
  • Moldova, Republic of
  • 2 Years of Membership
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?

5441 posts
  • Author Level 11
  • Moderator
  • Winner
  • 6 Years of Membership
+20 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.

1891 posts The Last Man Standing
  • Weekly Top Seller
  • Author Level 8
  • Beta Tester
  • Moderator
+10 more
ImanGM
Moderator
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
  • Collector Level 2
  • Exclusive Author
  • Moldova, Republic of
  • 2 Years of Membership
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