14 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • India
misterromeo says

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

1400 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Croatia
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.

2429 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Microlancer Beta Tester
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
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • 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?

1417 posts
  • Envato Staff
  • Has been a member for 5-6 years
  • Senior Reviewer
  • Sold between 10 000 and 50 000 dollars
  • Attended a Community Meetup
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
+10 more
kailoon Reviewer 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.

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
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.

1417 posts
  • Envato Staff
  • Has been a member for 5-6 years
  • Senior Reviewer
  • Sold between 10 000 and 50 000 dollars
  • Attended a Community Meetup
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
+10 more
kailoon Reviewer 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.”

2429 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Microlancer Beta Tester
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.

1417 posts
  • Envato Staff
  • Has been a member for 5-6 years
  • Senior Reviewer
  • Sold between 10 000 and 50 000 dollars
  • Attended a Community Meetup
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
+10 more
kailoon Reviewer 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?

2429 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Microlancer Beta Tester
digitalimpact says

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

by
by
by
by
by
by