WordPress.org

Ready to get started?Download WordPress

Forums

Code Snippets
[resolved] Don't work at multisite (7 posts)

  1. csigncsign
    Member
    Posted 1 year ago #

    Hi,

    I have installed your plugin at a multisite installation. I need this plugin active only on some of my blogs (in subdirectories) and not on all of the network!

    But after installation, I don't see this plugin at the plugin's page of my different blogs within the multisite, so that I can activate it.

    Doesn't it work with multisite?

    http://wordpress.org/extend/plugins/code-snippets/

  2. Shea Bunge
    Member
    Plugin Author

    Posted 1 year ago #

    You will need to edit the plugin files to enable this. Edit the code-snippets.php file in the plugin folder and remove the line near the top of the file reading:

    Network: True

    After saving the file, you should be able to activate the plugin on individual sites.

    This will be fixed in the next version of Code Snippets, which should be released shortly.

  3. Shea Bunge
    Member
    Plugin Author

    Posted 1 year ago #

    ~~ accidental duplicate post removed. Mod: please delete this ~~

  4. Shea Bunge
    Member
    Plugin Author

    Posted 1 year ago #

    Also, network activating the plugin, or activating it individually on the main site, will enable a special interface in the network dashboard for running snippets on every site on the network.

  5. csigncsign
    Member
    Posted 1 year ago #

    ah okay, thanks a lot!

  6. csigncsign
    Member
    Posted 1 year ago #

    Now with the plugin's update, this file change, that you have recommended is lost :-/

    Is it really necessary, that I change the code-snippets.php file with every plugin's update??

  7. Shea Bunge
    Member
    Plugin Author

    Posted 12 months ago #

    No, it should be fixed after the plugin update, meaning that you don't need to edit the file anymore.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.