Plugin / Multisite Shared Sidebar
Description
Description
This plugin allows a sidebar to be shared between blogs on a multisite.
It’s very simple to use.
-
Use the “Multisite Shared Sidebar” widget to display a sidebar from another participating sites.
- Specifies the “Blog ID” or “Blog Path”. ( Blog ID: 1,2,3… || Blog Path: ‘path’ or ‘/path/’ )
- Specifies the “Sidebar ID”. ( Sidebar ID: ‘sidebar-1’ etc)
※ Sidebar ID check in a theme file “functions.php”, etc. - “Using current sidebar defined” use it, if you check the check box. (Default)
- If you check the “Advanced sidebar configuration” you can customize sidebar defined.
※ Customizable is ‘before_widget’ , ‘after_widget’ , ‘before_title’ and ‘after_title’.
※ Details of the parameters see register_sidebar() document.
-
Use the shortcode “[shared_sidebar blog=’blog-id’ index=’sidebar-id’ ]” to display a sidebar in the text region.
- Please write shortcode on a single line.
- To the blog attribute specifies “Blog ID” or “Blog Path”.
- To the index attribute specifies the “Sidebar ID”.
- You can customize the sidebar defined, if you specify ‘advanced_config’ to “sidebar_config” attribute.
※ [shared_sidebar blog=’blog-id’ index=’sidebar-id’ sidebar_config=’advanced_config’ ]
Customizable attribute: ( )
before_widget=”
after_widget=”
before_title=”
after_title=”
※ Details of the parameters see register_sidebar() document.
You can also use this plugin to add sidebars that you have added to the theme yourself.
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.
[Setup steps]
Mr. mkormendy clearly wrote the setup step.
Mr. mkormendy, thank you very much.
- 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
-
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)
-
in your theme files, where the sidebars are generated, note the id of the sidebar that you are attempting to clone
-
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)
-
in the field with the title “Blog ID: or Blog Path:”, enter that ID number that you noted for the PRIMARY site in step 1.
-
in the field with the title “Sidebar ID:”, enter the name of the sidebar that you noted in step 3
-
save the widget, and load up the page of the SECONDARY site where the sidebar exists
You should see the PRIMARY sidebar duplicated inside the sidebar location of the SECONDARY site where you put the Multisite Shared Sidebar widget.
☆ For Japanese users ☆
このプラグインはマルチサイトのブログ間でサイドバーを共有します。
使い方はとても簡単です。
-
「Multisite Shared Sidebar」ウィジェットを使用して、別の参加サイトのサイドバーを表示します。
- “Blog ID” または “Blog Path” を指定します。 ( Blog ID: 1,2,3… || Blog Path: ‘path’ または ‘/path/’ )
- “sidebar id”を指定します。 ( sidebar id: ‘sidebar-1’ など)
※ サイドバーIDはテーマファイル内の ”functions.php” などを調べてください。 - ”現在のサイドバー定義を使用”チェックボックスをチェックすれば、それを使用します。 (デフォルト)
- ”高度なサイドバー設定”をチェックすればサイドバー定義をカスタマイズ出来ます。
※ カスタマイズ可能なのは、 ‘before_widget’ , ‘after_widget’ , ‘before_title’ と ‘after_title’ です。
※ パラメーターの詳細 register_sidebar() のドキュメントを参照してください。
-
ショートコード “[shared_sidebar blog=’blog-id’ index=’sidebar-id’ ]” を使ってテキスト領域内へ表示できます.
- 1行でショートコードを書いてください。
- blog属性へ ‘Blog ID’ または ‘Blog Path’ を指定します。
- index属性へ ‘Sidebar ID’ を指定します。
- “sidebar_config” 属性に ‘advanced_config’ を指定すれば、サイドバー定義をカスタマイズ出来ます。
※ [shared_sidebar blog=’blog-id’ index=’sidebar-id’ sidebar_config=’advanced_config’ ]
カスタマイズ可能な属性:
before_widget=”
after_widget=”
before_title=”
after_title=”
※ パラメーターの詳細 register_sidebar() のドキュメントを参照してください。
そして、このプラグインは貴方がテーマに追加したサイドバーも共有することができます。
ただし、プラグインを activate した後、使用する前に全ての参加サイトのダッシュボードを1回は表示しなければなりません。
[お願い]
- 本プラグインへの投票をお願いします。
- 問題点やコメントなどは WordPress フォーラム へお願いします。
Ratings
Rating breakdown
Details Information
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.