{"id":33206,"date":"2014-12-03T06:03:08","date_gmt":"2014-12-03T06:03:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/multisite-shared-sidebar\/"},"modified":"2019-03-06T03:38:20","modified_gmt":"2019-03-06T03:38:20","slug":"multisite-shared-sidebar","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/multisite-shared-sidebar\/","author":14167790,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.1","stable_tag":"1.2.1","tested":"5.1.22","requires":"4.6","requires_php":"","requires_plugins":"","header_name":"Multisite Shared Sidebar","header_author":"Mikio ISHITANI [ 2019\/3\/6 ]","header_description":"","assets_banners_color":"","last_updated":"2019-03-06 03:38:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":4596,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>No upgrade, so far.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"7"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.2","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1068335","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1068335","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1068335","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1068335","resolution":"4","location":"assets"}},"screenshots":{"1":"Registered \"Text widget\" to the main site \"Sidebar 2\".","2":"Register the \"Multisite Shared Sidebar\" widget to Sidebar 2 in a subsite.<br \/>\nBlog path \"\/\" is that main site. Sidebar ID specify 'sidebar-2'.<br \/>\n\"Using current sidebar defined\" Have been checked. (Default)","3":"If you check the \"Advanced sidebar configuration\", the textarea input field is displayed.","4":"Shortcode example: [shared_sidebar blog='1' index='sidebar-2' ]"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[441,325,138,12811,168],"plugin_category":[43,51,56],"plugin_contributors":[97029],"plugin_business_model":[],"class_list":["post-33206","plugin","type-plugin","status-closed","hentry","plugin_tags-multisite","plugin_tags-network","plugin_tags-share","plugin_tags-shared","plugin_tags-sidebar","plugin_category-customization","plugin_category-multisite","plugin_category-social-and-sharing","plugin_contributors-mikio-ishitani","plugin_committers-mikio-ishitani"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/multisite-shared-sidebar.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/multisite-shared-sidebar\/assets\/screenshot-1.png?rev=1068335","caption":"Registered \"Text widget\" to the main site \"Sidebar 2\"."},{"src":"https:\/\/ps.w.org\/multisite-shared-sidebar\/assets\/screenshot-2.png?rev=1068335","caption":"Register the \"Multisite Shared Sidebar\" widget to Sidebar 2 in a subsite.<br \/>\nBlog path \"\/\" is that main site. Sidebar ID specify 'sidebar-2'.<br \/>\n\"Using current sidebar defined\" Have been checked. (Default)"},{"src":"https:\/\/ps.w.org\/multisite-shared-sidebar\/assets\/screenshot-3.png?rev=1068335","caption":"If you check the \"Advanced sidebar configuration\", the textarea input field is displayed."},{"src":"https:\/\/ps.w.org\/multisite-shared-sidebar\/assets\/screenshot-4.png?rev=1068335","caption":"Shortcode example: [shared_sidebar blog='1' index='sidebar-2' ]"}],"raw_content":"<!--section=description-->\n<p>This plugin allows a sidebar to be shared between blogs on a multisite.<br \/>\nIt's very simple to use.<\/p>\n\n<ol>\n<li><p>Use the \"Multisite Shared Sidebar\" widget to display a sidebar from another participating sites.<\/p>\n\n<ul>\n<li>Specifies the \"Blog ID\" or \"Blog Path\".  ( Blog ID: 1,2,3... || Blog Path: 'path' or '\/path\/' )<\/li>\n<li>Specifies the \"Sidebar ID\".  ( Sidebar ID: 'sidebar-1' etc)<br \/>\n\u203b Sidebar ID check in a theme file \"functions.php\", etc.  <\/li>\n<li>\"Using current sidebar defined\" use it, if you check the check box. (Default)<\/li>\n<li>If you check the \"Advanced sidebar configuration\" you can customize sidebar defined.<br \/>\n\u203b Customizable is 'before_widget' ,  'after_widget' , 'before_title' and 'after_title'.<br \/>\n\u203b Details of the parameters see register_sidebar() document.<\/li>\n<\/ul><\/li>\n<li><p>Use the shortcode \"[shared_sidebar blog='blog-id' index='sidebar-id' ]\" to display a sidebar in the text region.<\/p>\n\n<ul>\n<li>Please write shortcode on a single line.<\/li>\n<li>To the blog attribute specifies \"Blog ID\" or \"Blog Path\".<\/li>\n<li>To the index attribute specifies the \"Sidebar ID\".<\/li>\n<li>You can customize the sidebar defined, if you specify 'advanced_config' to \"sidebar_config\" attribute.<br \/>\n\u203b [shared_sidebar blog='blog-id' index='sidebar-id' <strong>sidebar_config='advanced_config'<\/strong> ]<br \/>\n\u00a0\u00a0\u00a0<strong>Customizable attribute:<\/strong> ( )<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0before_widget=''<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0after_widget=''<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0before_title=''<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0after_title=''<br \/>\n\u203b\u00a0Details of the parameters see register_sidebar() document.  <\/li>\n<\/ul><\/li>\n<\/ol>\n\n<p>You can also use this plugin to add sidebars that you have added to the theme yourself.<\/p>\n\n<p>Beware, however, that after activating the plugin, you must view the dashboard of all of subdomains in the multisite before you can use the sidebar.<\/p>\n\n<h4>[Setup steps]<\/h4>\n\n<p>Mr. mkormendy clearly wrote the setup step.<br \/>\nMr. mkormendy, thank you very much.<\/p>\n\n<ol>\n<li>in your multisite Network Admin, visit your list of sites, hover over the name of the PRIMARY site that you want to mirror a sidebar of widgets from, and note the id number at the end of the URL for that site within the your multisite wordpress installation<\/li>\n<li><p>on your PRIMARY site, create a bunch of widgets in a sidebar (these will all be shared together as a group in the cloned sidebar on a SECONDARY site eventually)<\/p><\/li>\n<li><p>in your theme files, where the sidebars are generated, note the id of the sidebar that you are attempting to clone<\/p><\/li>\n<li><p>on your SECONDARY site, in your admin widgets section, drag and drop the [Multisite Shared Sidebar] widget to one of your sidebars available on your secondary site (if you use the same theme, you would place it in the same sidebar location as found on the primary site)<\/p><\/li>\n<li><p>in the field with the title \u201cBlog ID: or Blog Path:\u201d, enter that ID number that you noted for the PRIMARY site in step 1.<\/p><\/li>\n<li><p>in the field with the title \u201cSidebar ID:\u201d, enter the name of the sidebar that you noted in step 3<\/p><\/li>\n<li><p>save the widget, and load up the page of the SECONDARY site where the sidebar exists<\/p><\/li>\n<\/ol>\n\n<p>You should see the PRIMARY sidebar duplicated inside the sidebar location of the SECONDARY site where you put the Multisite Shared Sidebar widget.<\/p>\n\n<h4>\u2606 For Japanese users \u2606<\/h4>\n\n<p>\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u306e\u30d6\u30ed\u30b0\u9593\u3067\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u5171\u6709\u3057\u307e\u3059\u3002<br \/>\n\u4f7f\u3044\u65b9\u306f\u3068\u3066\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n\n<ol>\n<li><p>\u300cMultisite Shared Sidebar\u300d\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001\u5225\u306e\u53c2\u52a0\u30b5\u30a4\u30c8\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n\n<ul>\n<li>\"Blog ID\" \u307e\u305f\u306f \"Blog Path\" \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 ( Blog ID: 1,2,3\u2026 || Blog Path: 'path' \u307e\u305f\u306f '\/path\/' )<\/li>\n<li>\"sidebar id\"\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 ( sidebar id: 'sidebar-1' \u306a\u3069)<br \/>\n\u203b \u30b5\u30a4\u30c9\u30d0\u30fcID\u306f\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u5185\u306e \u201dfunctions.php\u201d \u306a\u3069\u3092\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>\u201d\u73fe\u5728\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u5b9a\u7fa9\u3092\u4f7f\u7528\u201d\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308c\u3070\u3001\u305d\u308c\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09<\/li>\n<li>\u201d\u9ad8\u5ea6\u306a\u30b5\u30a4\u30c9\u30d0\u30fc\u8a2d\u5b9a\u201d\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308c\u3070\u30b5\u30a4\u30c9\u30d0\u30fc\u5b9a\u7fa9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u51fa\u6765\u307e\u3059\u3002<br \/>\n\u203b \u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u306e\u306f\u3001 'before_widget' ,  'after_widget' , 'before_title' \u3068 'after_title' \u3067\u3059\u3002<br \/>\n\u203b \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u8a73\u7d30 register_sidebar() \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul><\/li>\n<li><p>\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9 \"[shared_sidebar blog='blog-id' index='sidebar-id' ]\" \u3092\u4f7f\u3063\u3066\u30c6\u30ad\u30b9\u30c8\u9818\u57df\u5185\u3078\u8868\u793a\u3067\u304d\u307e\u3059.<\/p>\n\n<ul>\n<li>1\u884c\u3067\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>blog\u5c5e\u6027\u3078 'Blog ID' \u307e\u305f\u306f 'Blog Path' \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>index\u5c5e\u6027\u3078 'Sidebar ID' \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\"sidebar_config\" \u5c5e\u6027\u306b 'advanced_config' \u3092\u6307\u5b9a\u3059\u308c\u3070\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u5b9a\u7fa9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u51fa\u6765\u307e\u3059\u3002<br \/>\n\u203b [shared_sidebar blog='blog-id' index='sidebar-id' <strong>sidebar_config='advanced_config'<\/strong> ]<br \/>\n\u00a0\u00a0\u00a0<strong>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u5c5e\u6027:<\/strong><br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0before_widget=''<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0after_widget=''<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0before_title=''<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0after_title=''<br \/>\n\u203b \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u8a73\u7d30 register_sidebar() \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<p>\u305d\u3057\u3066\u3001\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u8cb4\u65b9\u304c\u30c6\u30fc\u30de\u306b\u8ffd\u52a0\u3057\u305f\u30b5\u30a4\u30c9\u30d0\u30fc\u3082\u5171\u6709\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n<p>\u305f\u3060\u3057\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3092 activate \u3057\u305f\u5f8c\u3001\u4f7f\u7528\u3059\u308b\u524d\u306b\u5168\u3066\u306e\u53c2\u52a0\u30b5\u30a4\u30c8\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\uff11\u56de\u306f\u8868\u793a\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n\n<h4>[\u304a\u9858\u3044]<\/h4>\n\n<ul>\n<li>\u672c\u30d7\u30e9\u30b0\u30a4\u30f3\u3078\u306e\u6295\u7968\u3092\u304a\u9858\u3044\u3057\u307e\u3059\u3002  <\/li>\n<li>\u554f\u984c\u70b9\u3084\u30b3\u30e1\u30f3\u30c8\u306a\u3069\u306f <a href=\"https:\/\/ja.forums.wordpress.org\/topic\/144488\">Wordpress \u30d5\u30a9\u30fc\u30e9\u30e0<\/a> \u3078\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li>Uncompress it with your preferred unzip program<br \/>\n\u89e3\u51cd\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u89e3\u51cd\u3057\u307e\u3059\u3002<\/li>\n<li>Copy the entire directory in your plugin directory of your WordPress blog (\/wp-content\/plugins)<br \/>\n\u30ef\u30fc\u30c9\u30d7\u30ec\u30b9\u306e\u30d6\u30ed\u30b0\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5168\u4f53\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002(\/wp-content\/plugins)  <\/li>\n<li>Network-activate the plugin<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/li>\n<li>Please display the widgets settings page in the dashboard for all participating sites.<br \/>\n\u3059\u3079\u3066\u306e\u53c2\u52a0\u30b5\u30a4\u30c8\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u8a2d\u5b9a\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>This plugin can be used in single-site ?<\/dt>\n<dd><p>No, it cannot be used. It is only the multisite.<\/p><\/dd>\n<dt>Can I use this plugin to Subdomain-multisite ?<\/dt>\n<dd><p>Yes, I think it can be used.\n  However, the site should be specified in the BlogID (1,2,3, ...).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<p>I tested this plugin on Wordpress Ver.5.1 and confirmed that it worked.<br \/>\n\u672c\u30d7\u30e9\u30b0\u30a4\u30f3\u3092 Wordpress Ver.5.1 \u4e0a\u3067\u30c6\u30b9\u30c8\u3057\u3001\u52d5\u4f5c\u3059\u308b\u4e8b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>I changed 'wp_get_sites()' function to' get_sites()' function by indication of Mr. mkormendy.  <\/li>\n<li>Added to the document. Mr. mkormendy clearly wrote the setup step.<br \/>\nMr. mkormendy, thank you very much.  <\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<p>I tested this plugin on Wordpress Ver.4.2.2 and confirmed that it worked.<br \/>\n\u672c\u30d7\u30e9\u30b0\u30a4\u30f3\u3092 Wordpress Ver.4.2.2 \u4e0a\u3067\u30c6\u30b9\u30c8\u3057\u3001\u52d5\u4f5c\u3059\u308b\u4e8b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Added the following functions.<\/p>\n\n<ul>\n<li>When you use \"Multisite Shared Sidebar\" widget to sidebar definitions in current use.<br \/>\n\"Multisite Shared Sidebar\"\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306e\u4f7f\u7528\u6642\u306b\u3001\u73fe\u5728\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u5b9a\u7fa9\u3092\u4f7f\u7528\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002  <\/li>\n<li>You can customize the sidebar defined by advanced settings.<br \/>\n\u9ad8\u5ea6\u306a\u8a2d\u5b9a\u3067\u30b5\u30a4\u30c9\u30d0\u30fc\u5b9a\u7fa9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>Added the Japanese translation file<br \/>\n\u65e5\u672c\u8a9e\u7ffb\u8a33\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"This plugin allows a sidebar to be shared between blogs on a multisite.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/33206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=33206"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mikio-ishitani"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=33206"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=33206"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=33206"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=33206"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=33206"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=33206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}