Forums

Automatically activate plugin on theme change (2 posts)

  1. hpatoio
    Member
    Posted 1 month ago #

    Hello.

    Is there a way to "connect" theme and plugin ?

    I've a WP MU installation and I would like that after creating a new blog when I activate the theme "A" also a set of plugin needed by that theme is activated.

    In the same way if later I switch to theme "B" all plugins for the theme A are deactivated and those for the theme B are activated.

    regards

    --
    Simone

  2. andrea_r
    Member
    Posted 1 month ago #

    If you put the plugin code in the theme's functions file, that'll do it.

Reply

You must log in to post.

About this Topic