Title: multi-site compatibility
Last modified: August 22, 2016

---

# multi-site compatibility

 *  Resolved [peteratomic](https://wordpress.org/support/users/peteratomic/)
 * (@peteratomic)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/multi-site-compatibility/)
 * Just tried using the plugin on a subdomain in a multisite install… noticed that
   the sharing referrer links use the main domain and not the sub-domain.
 * Is the plugin multi-site compatible?
 * [https://wordpress.org/plugins/simple-share-buttons-adder/](https://wordpress.org/plugins/simple-share-buttons-adder/)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/multi-site-compatibility/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/multi-site-compatibility/page/2/?output_format=md)

 *  [ville6000](https://wordpress.org/support/users/ville6000/)
 * (@ville6000)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824301)
 * I have the same problem, sharing does not use sub-domains.
 * I switched to Hupso [https://wordpress.org/plugins/hupso-share-buttons-for-twitter-facebook-google/](https://wordpress.org/plugins/hupso-share-buttons-for-twitter-facebook-google/)
 *  Plugin Author [Simple Share](https://wordpress.org/support/users/davidoffneal/)
 * (@davidoffneal)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824471)
 * Hi both,
 * I’m afraid that multisite installs are not currently supported.
 * There are plans to include this option in the future, apologies that it is not
   the case currently.
 * Thanks,
 * David
 *  [ville6000](https://wordpress.org/support/users/ville6000/)
 * (@ville6000)
 * [11 years ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824501)
 * I changed function `ssba_current_url()` in simple-share-buttons-adder.php to
 *     ```
       global $wp;
       return add_query_arg( $_SERVER['QUERY_STRING'], '', home_url( $wp->request ) );
       ```
   
 * And now it works perfectly WP 4.2.1 multisite.
 *  [doctorate](https://wordpress.org/support/users/doctorate/)
 * (@doctorate)
 * [11 years ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824502)
 * [@ville6000](https://wordpress.org/support/users/ville6000/), thanks for the 
   fix for multisite installation, but I am just thinking loud: what if you updated
   the plugin would that overwrite your modified function? as a solution: can I 
   put this code inside functions.php of the child theme to keep it even after updating
   the plugin?
 *  [ville6000](https://wordpress.org/support/users/ville6000/)
 * (@ville6000)
 * [11 years ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824503)
 * [@doctorate](https://wordpress.org/support/users/doctorate/) Yes it would overwrite
   the modified function. I’m hoping that plugin author would test and implement
   the suggested solution and update the plugin.
 *  [doctorate](https://wordpress.org/support/users/doctorate/)
 * (@doctorate)
 * [11 years ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824504)
 * I don’t see any problem with my multisite setting i.e. WPMU and I have no problem
   at all with sharing the subfolders/subsites of the network using this fantastic
   plugin. I have multilingual network (development local server though) and sharing
   of subsites is just fine. I am speaking of plugin version 5.6. May be this issue
   has already been fixed since PO started this thread.
    May setting is like this:
   example.com example.com/ar example.com/cn example.com/de
 *  Plugin Author [Simple Share](https://wordpress.org/support/users/davidoffneal/)
 * (@davidoffneal)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824512)
 * Hi,
 * This feature is now available. When using the shortcode, simply add ‘multisite’
   within it:
 * `[ssba multisite]`
 * Thanks,
 * David
 *  [henryomad](https://wordpress.org/support/users/henryomad/)
 * (@henryomad)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824535)
 * Hi, the shortcode is useful but our users are not very experienced. Is it possible
   to add ville6000’s solution into the code, so that it just works?
    Cheers.
 *  [juliejcdesign](https://wordpress.org/support/users/juliejcdesign/)
 * (@juliejcdesign)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824536)
 * Where should I add the short code [ssba multisite] in order for the plugins to
   work with a multisite ?
 *  [mrgud](https://wordpress.org/support/users/mrgud/)
 * (@mrgud)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824537)
 * Using WordPress 4.1.9 with Simple Share Buttons Adder 6.1.4
 * The SSBA on default site in multisite instalation worked fine.
    On the other 
   site it failed to display the configuration page, showing a bunch of php errors
   regarding the ssba_admin_panel.php starting from line 990, where the plugin checks
   for options, but options failed to load in 984 since there were none in wp_[x]
   _options table (where [x] is the site id) I just copied option_value for option_name
   = ‘ssba_buttons’ from wp_options (the default site) and inserted the key value
   pair into wp_[x]_options table.
 * now it works like a charm.
 *  [Mellco](https://wordpress.org/support/users/mellco/)
 * (@mellco)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824538)
 * Oddly I can not find ssba_buttons table in wp_options
 * Also can not find ssba_current_url() in simple-share-buttons-adder.php
 * Would be nice to get multi site support on this.
 * ADDED: OK found the table.
 *  [Guillermo](https://wordpress.org/support/users/guillermo77/)
 * (@guillermo77)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824539)
 * Multisite no work, no appear the icons in the second site.
    If mrgud solved it,
   explain step by step how we can fix it.
 * I hope you can fix it for full use.
 * The plugin is good, thanks.
    The light version need select after and befor post
   and the widget.
 *  [Mellco](https://wordpress.org/support/users/mellco/)
 * (@mellco)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824540)
 * Guillermo77 you have to do what ville6000 said above. Go into phpmadmin and add
   the tables to each site.
 *  [George wp-website-mastery](https://wordpress.org/support/users/lernerconsult/)
 * (@lernerconsult)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824541)
 * [@mellco](https://wordpress.org/support/users/mellco/), I understand that someone
   who knows phpMyAdmin could make those records. Plugins shouldn’t be written so
   their use requires people make changes in phpMyAdmin.
 * [@everyone](https://wordpress.org/support/users/everyone/): If you don’t know
   phpMyAdmin, don’t go in trying to change things, you’ll likely make changes you
   didn’t mean to make and really mess things up.
 * [@davidneal](https://wordpress.org/support/users/davidneal/): If what is needed
   is database records added to the proper tables, than You should be using the 
   standard WordPress functions for determining what tables those should be. Your
   plugin isn’t multi-site compatible, if you aren’t asking WordPress what tables
   you should use.
 * [@davidneal](https://wordpress.org/support/users/davidneal/): This issue is not“
   Resolved” and so the topic should be un-marked resolved.
 * I have WordPress 4.4.2 Multi-Site in sub-domain mode, with Simple Share Buttons
   Adder 6.1.5, and I get nothing under “Networks” so I can not “drop icons below”.
 * The Simple Share Buttons configuration screen gives these errors:
 * Warning: array_keys() expects parameter 1 to be array, null given in /home/ACCOUNT/
   public_html/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.
   php on line 1005
 * Warning: array_diff(): Argument #1 is not an array in /home/ACCOUNT/public_html/
   wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line
   1005
 * Warning: Invalid argument supplied for foreach() in /home/ACCOUNT/public_html/
   wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line
   1011
 * Warning: Invalid argument supplied for foreach() in /home/ACCOUNT/public_html/
   wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line
   328
 * Notice: Undefined index: twitter_newsharecounts in /home/ACCOUNT/public_html/
   wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line
   622
 *  [Mellco](https://wordpress.org/support/users/mellco/)
 * (@mellco)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/multi-site-compatibility/#post-5824542)
 * @DavidNea I am sure the plugin author is aware of the problem. Since this is 
   a free plugin I can only appreciate the functionality it gives me where it works
   properly. If I have to go an extra mile to make a plugin work on my site I will
   do so.
 * Multisite requires more technical expertise then regular WordPress sites. So 
   posting that suggestion here by ville6000 was entirely appropriate.
 * Those errors you are getting are because of the extra tables you can not add 
   and the author has not patched.
 * I suggest that finding another plugin solution would be a better choice. Obviously
   it is not providing the functionality you seek and you can not adapt it to your
   site.
 * Hopefully there will be an update.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/multi-site-compatibility/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/multi-site-compatibility/page/2/?output_format=md)

The topic ‘multi-site compatibility’ is closed to new replies.

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

 * 18 replies
 * 11 participants
 * Last reply from: [alexander146](https://wordpress.org/support/users/alexander146/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/multi-site-compatibility/page/2/#post-5824546)
 * Status: resolved