Open mviniciosbarreto opened 7 years ago
Could you please share your config so someone can take a look ?
Hey @marcc3d , @jrfnl , @GaryJones ,
There seems to be a general/global TGM option for forcing the activation of the plugin after installation:
'is_automatic' => true, // Automatically activate plugins after installation or not.
- How I see things, this will automatically activate the plugin after you manually install the plugin and not after you activate the theme.
Other options but applied to the plugin array configs are:
'force_activation' => true, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch.
- this activates the plugin when you activate the theme, but only if you have the plugin already installed.
If you ask me, I don't think that there`s a way to automatically install and activate a plugin once a theme is activated for the first time. I wish it was, since I'm dealing with the same issue as yours and I would love to get more info on this issue too.
Thanks! Madalin
I have a theme with has got some soft rejections from Theme Forest when using Redux Framework integrated in theme, so I decided to move it as a plugin and force the activation on theme activation using the TGM Plugin Activation now I face the issue that when I activate the theme this feature seems to be not working since the Redux Framework is not activated with theme activation no matter if I put the Redux as bundled zip in theme folder or an external source. What could be wrong? Thank you all!