370 posts
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
PixelStores says

Hey,

To all those wordpress developers, is it possible to include plugins within the theme? i was thinking it has something to do with the functions.php file, but not sure.

I want my theme to be activated with a plugin with one click, no activating of plugins required.

Help much appreciated.

Thanks Matt

444 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 United Kingdom
TahaH-Studio says

require the main plugin .php file in the functions.php eg: require_once('themainfilepath')

370 posts
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
PixelStores says

Cheers bro, i will give it a try. :)

by
by
by
by
by
by