• I’ve built a couple themes, but a lot of the times I want to include plugins with those themes. Is there a way to make it so when my theme is installed it installs the needed plugins as well?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Some commercial themes I’ve seen include a folder of plugins in the theme zip file, with instructions to the user to move them into the plugins folder and activate them.

    Thread Starter HeroicNate

    (@heroicnate)

    that’s not a bad idea.

    or, take the code from the plugin and drop it into the functions.php.

    Or into a separate file required by functions.php. Then it’s part of the theme, but if upgrade is necessary, that will no longer work. (also, if it’s a multifile plugin, some paths may need resolved)

    Thread Starter HeroicNate

    (@heroicnate)

    some of the plugins I was thinking of using are too complex for that. I think I’m better off just including a zip file. Althought I think I may take that approach for doing some custom field dialog boxes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make it so plugin installs with a theme?’ is closed to new replies.