Open boonebgorges opened 9 years ago
As part of trying to make Infinity compatible with a popular theme store, I encountered a requirement that plugins NOT be bundled, but that the TGM api be used to download, install, activate the plugins from external resources instead of bundling them:
http://tgmpluginactivation.com/
I was already going to play around with it, at the very least to see if it makes theme-check puke. If there are no objections to this kind of solution, then I will move forward with testing it out.
Sure, something like that would be fine. commons-in-a-box has some internal logic to handle stuff like this (that's the whole purpose of the plugin) but if Infinity handled it all by itself, all the better.
On 06/09/2015 11:34 AM, Marshall Sorenson wrote:
As part of trying to make Infinity compatible with a popular theme store, I encountered a requirement that plugins NOT be bundled, but that the TGM api be used to download, install, activate the plugins from external resources instead of bundling them:
http://tgmpluginactivation.com/
I was already going to play around with it, at the very least to see if it makes theme-check puke. If there are no objections to this kind of solution, then I will move forward with testing it out.
— Reply to this email directly or view it on GitHub https://github.com/PressCrew/infinity-cbox/issues/7#issuecomment-110404554.
Yes... I don't intend on rolling a sweet interface like cbox has, at least to start. Hopefully it's not too difficult to just make a callback available so a fork or child theme can say "try to activate supported plugin: xyz" in cases where it's critical for back compat.
https://github.com/PressCrew/infinity-cbox/commit/1fc791acb81b85179ffd32175378d652f8221215 removes the slider from cbox-theme/infinity and moves it to a separate plugin.
Among various backward-compatibility concerns with the theme rewrite, this one (along with settings migration, which is already handled quite elegantly) is critical. Users who upgrade their theme should be able to migrate with minimal effort - ideally zero effort.
A couple of ideas for discussion:
include
d. (This allows development to be separate, but doesn't help with the issue of distributing a plugin inside of a theme.)