M
M
Maxim2016-02-28 21:55:17
WordPress
Maxim, 2016-02-28 21:55:17

How to install plugins from functions.php in Wordpress?

Hello. I wanted to know how you can install plugins with a theme. For example, I use the OptionTree plugins to create the Theme Options page. And in the functions.php file, I insert the settings code for the plugin. And I would like that when installing my theme, people had no problems with the OptionTree plugin and it was installed. Is it possible to do this with the functions.php file? Or will you have to ship the theme with the plugin folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Seredny, 2016-02-28
@Qumbeez

tgmpluginactivation.com
More about tgm, look for info already)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question