Support » Plugin: Schema App Structured Data » Feature Request: Multisite

  • Resolved websupporter

    (@websupporter)


    Hi,
    we are running a multsite with ~50 sites and are going to use your plugin. While studying a bit the code, we would have a feature request.

    The plugin uses get_option() to store options, so settings can only be made per site. While for a single site doing those settings is not a big task, it becomes a bit more effort to repeat the same steps (in our case, the same settings apply to each site) 50 times.

    For our use case it would be great if (when network activated) you could add settings on network level. For me the ideal workflow then would be something like:

    $options = get_option('option_key');
    if (! $options && is_multisite) {
      $options = get_site_option('option_key');
    }

    If this would be the way, you are trying to read the current settings, you would first check for the “local/single site” settings. if we are in a network and no settings have been set locally, you would try to fetch the options from the network settings.

    Thank you for the nice plugin and for considering this request,
    David.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author vberkel

    (@vberkel)

    Hi @websupporter

    That’s a good idea and looks doable. Give us a bit of time to add that in.

    Thanks,
    Mark

    Hi @vberkel,
    this sounds great. Thanks a lot,

    David.

    Plugin Author vberkel

    (@vberkel)

    Hi @websupporter

    We went back and forth on a design for this. Ultimately, the majority of our clients having a network of sites would have different settings per site. To have a sort of default option for multisite that can be overridden is a lot of work that requires a lot of testing for this plugin and two add-on plugins. While we want to add this, we decided that we aren’t going to work on this. This is a free, open source software, however, so others can take on the effort to do so if they are inclined. Otherwise, adjust settings on a per site basis is still an option to you.

    Mark

    Hi @vberkel,
    thanks for taking a look into it. I understand the effort and not every feature request can simply be implemented, just because someone asks for it.

    So I really appreciate the time you spent evaluating this idea.

    All the best,

    David.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.