14 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in India
misterromeo says

Am I allowed to use wordpress.org plugins code in my theme?

1512 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+2 more
OriginalEXE says

Yes you are allowed to do that.

What would be better is to auto install the plugin instead of including the actual code, that way user can update them.

Also, note that the theme should have some basic functionality even without the plugin in question.

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+2 more
digitalimpact says

Yes, you’re allowed. And you can use this to install/activate the plugins that you provide with the theme: http://tgmpluginactivation.com/

14 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in India
misterromeo says

Yes you are allowed to do that.

What would be better is to auto install the plugin instead of including the actual code, that way user can update them.

Also, note that the theme should have some basic functionality even without the plugin in question.

I’m not actually gonna use full plugin code. Just some part of it. I should include the license right?

1451 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Member of the Envato Team
+12 more
kailoon Envato team says

You can use all sort of plugins ( depend on the license ), but you can’t bundle it into your themes files. You can use script mentioned by @digitalimpact to allow user to install the required plugins.

Keep in mind, theme should still be working ( not returning any errors) if any of the plugins is not activated.

But you need to make it clear to the buyers if there is any premium/paid plugins that is not included in the download.

316 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Has been part of the Envato Community for over 3 years
+2 more
SyamilMJ says

You can use all sort of plugins ( depend on the license ), but you can’t bundle it into your themes files. You can use script mentioned by @digitalimpact to allow user to install the required plugins.

I don’t use TGM plugin but I think it requires that you bundle the plugin files into the theme?

Also with TGM, the users will usually end up with two copies of the plugin on their server, one in the theme folder, and one in the plugins folder. I don’t think that’s a very good thing.

1451 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Member of the Envato Team
+12 more
kailoon Envato team says

bundled here mean within your theme files, TGM allow you load the plugin from url/zip etc. Which make the plugin separated from the theme files and easy for getting updates ( important ).

“TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference pre-packaged plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.”

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+2 more
digitalimpact says

You can use all sort of plugins ( depend on the license ), but you can’t bundle it into your themes files.

Hmm, does this only apply to wordpress.org plugins?

Asking because I saw enough themes (even recent approved ones) that use TGM and include commercial plugins in the installable theme folder (for which, of course, authors must have bought an extended license).

A perfect example is Revolution Slider, though I’ve also seen plugins from outside Codecanyon.

Of course, with TGM, there’s no need to include a wordpress.org plugin in the theme – it can install it from the repository (which doesn’t apply to plugins from say, Codecanyon).

But I didn’t know authors can’t include a free, GPL plugin, in their theme. (i.e. Contact Form 7), in case they were not using TGM.

1451 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Member of the Envato Team
+12 more
kailoon Envato team says


You can use all sort of plugins ( depend on the license ), but you can’t bundle it into your themes files.

Hmm, does this only apply to wordpress.org plugins?

Asking because I saw enough themes (even recent approved ones) that use TGM and include commercial plugins in the installable theme folder (for which, of course, authors must have bought an extended license).

A perfect example is Revolution Slider, though I’ve also seen plugins from outside Codecanyon.

Of course, with TGM, there’s no need to include a wordpress.org plugin in the theme – it can install it from the repository (which doesn’t apply to plugins from say, Codecanyon).

But I didn’t know authors can’t include a free, GPL plugin, in their theme. (i.e. Contact Form 7).

I will double check with the team and management re GPL plugins, but hey, GPL?

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+2 more
digitalimpact says

Thanks Kai :) Not sure what you meant, but I was referring to any free plugin from the repository.

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