[theme-reviewers] TGM plugin activation
Kirk Wight
kwight at kwight.ca
Wed Nov 14 00:17:14 UTC 2012
Otto, that's amazing; it's perfect for me. As was echoed in the comments,
better to learn how to do it myself than to learn how to use a big library.
Between this and the theme customizer tutorials, I owe you, like, 19 beers.
On 13 November 2012 19:07, Otto <otto at ottodestruct.com> wrote:
> On Tue, Nov 13, 2012 at 5:40 PM, Kirk Wight <kwight at kwight.ca> wrote:
> > I'm asking, of course, because it would be great to start suggesting it
> (or
> > something similar) to theme devs that are including functionality like
> > shortcodes, etc in themes. Also because, well, I might want to use it
> myself
> > :)
>
> While that library is indeed pretty handy, it's entirely possible to
> do the same basic thing on a somewhat smaller scale by simply writing
> code to do it yourself. I'm not against the library, but for that
> custom type of look, it may be desirable to sort of DIY it with
> regards to the interface.
>
> I wrote a post to this effect, demonstrating the basics of how to
> detect installed plugins, give the user links to install and activate
> them, etc. You might find it helpful.
>
> http://ottopress.com/2012/themeplugin-dependencies/
>
> In that class, I demonstrate how to check for plugins, check to see if
> plugins are active, and provide activation and installation links on
> pretty much any screen you like. It could be done in a few lines of
> code instead of having a large library included, at the expense of not
> having a grand sort of interface provided to you, type of thing.
>
> -Otto
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20121113/5912858f/attachment-0001.htm>
More information about the theme-reviewers
mailing list