• Code Snippets works quite well when multisite network activated. I like the “toggle” button feature but in each subsite it is not active by default. It will be annoying to have to activate each client’s subsite code snippets. Here’s my suggestion:
    1) Have current option to activate on subsites
    2) Allow a checkbox which says, “Default Toggle On for All Subsites”
    3) Allow a checkbox which says, “Default Toggle Off for All Subsites”

    This way, for environments where the clients will not have access to the plugin (only admins) they won’t mess up site code by accident. And it will allow super admins to not have to activate code which is meant to be automatically functional.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    The ‘shared network snippets’ feature essentially achieves (3), allowing you to have network snippets visible on all subsites without being active.

    It would be possible to also add some sort of ‘exclude only these subsites’ feature, but I’m not sure if it would be worth adding a bunch of extra logic for this feature. Remember, you can always exclude subsites from the snippet code itself using get_current_blog_id().

    @bungeshea where would that exclusion code be added? Is there a code example you can point to?
    Thanks

    Plugin Author Shea Bunge

    (@bungeshea)

    @nicwinner do you have an example of the sort of snippet you would like to exclude?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multisite Activation (Feature Request)’ is closed to new replies.