前言介紹
- 這款 WordPress 外掛「Multisite Shared Sidebar」是 2014-12-02 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2019-03-06,距離現在已有 2257 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 有 7 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
share | shared | network | sidebar | multisite |
內容簡介
此外掛可讓多站台間的側邊欄共用。非常簡單易用。
使用「Multisite Shared Sidebar」小工具,顯示另一個參與站台的側邊欄。
指定「網誌 ID」或「網誌路徑」(網誌 ID: 1,2,3... || 網誌路徑: 'path' 或 '/path/')
指定「側邊欄 ID」(側邊欄 ID: 'sidebar-1'等)
※ 側邊欄 ID 檢查在主題檔案「functions.php」裡等。
若勾選「使用目前定義的側邊欄」,就使用它(預設)
若勾選「進階側邊欄設定」,就可以自訂側邊欄定義。
※ 可自訂的有「before_widget」、「after_widget」、「before_title」和「after_title」。
※ 參數的詳細資訊請參考 register_sidebar() 文件。
使用短碼「[shared_sidebar blog='網誌 ID' index='側邊欄 ID' ]」,在文字區域顯示側邊欄。
請在單行上撰寫短碼。
在 blog 屬性中,指定「網誌 ID」或「網誌路徑」。
在 index 屬性中,指定「側邊欄 ID」。
若在「sidebar_config」屬性中指定「advanced_config」,就可以自訂側邊欄定義。
※ [shared_sidebar blog='網誌 ID' index='側邊欄 ID' sidebar_config='advanced_config' ]
可自訂屬性:( )
before_widget=”
after_widget=”
before_title=”
after_title=”
※ 參數的詳細資訊請參考 register_sidebar() 文件。
您也可以使用此外掛來新增您自己在主題裡加入的側邊欄。
請注意,在啟用此外掛後,您必須檢視多站台的子網域儀表板,才能使用這個側邊欄。
[設置步驟]
mkormendy 先生已經清楚地寫下了設置步驟。
非常感謝 mkormendy 先生。
在您的多站台網路管理員中,瀏覽您的網誌列表,將鼠標懸停於您要複製小工具側邊欄的主要網誌名稱上,並注意該網誌在您的多站台 WordPress 安裝內部的 URL 的末尾所示的 ID 編號
在您的主要網誌上,建立大量的小工具側邊欄(這些小工具將作為一組在 SECONDARY 網誌上複製的側邊欄)
在您的主題檔案中,生成側邊欄時,注意您要複製的側邊欄的 ID
在您的 SECONDARY 網站上,在您的管理小工具部分,將 [Multisite Shared Sidebar] 小工具拖放到 SECONDARY 網站上可用的一個側邊欄中(如果您使用相同的主題,您將在 SECONDARY 網站上找到相同位置的側邊欄)
在「網誌 ID: 或網誌路徑 :」欄位中,輸入您在步驟1中注意到的主要網誌的 ID 編號
在 「側邊欄 ID:」欄位中,輸入您在步驟3中注意到的側邊欄名稱
儲存小工具,並載入 SECONDARY 網站上存在側邊欄的頁面
您應該看到主要的側邊欄複製到 SECONDARY 網站的側邊欄位置。
原文外掛簡介
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 フォーラム へお願いします。
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Multisite Shared Sidebar」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.1 | 1.2 | 1.1.1 | 1.2.1 | trunk |
延伸相關外掛(你可能也想知道)
Code Snippets 》Code Snippets 是在您的網站上運行程式碼片段的簡單,清潔和簡單的方法。它消除了將自定義片段添加到您的佈景主題的 functions.php 檔案的需求。, 現在提供 C...。
User Switching 》這個外掛可讓您輕鬆在 WordPress 中點擊按鈕即可快速切換使用者帳戶。您會立即登出並切換成所需使用者。這對於測試環境、協助 WooCommerce 網站上的客戶或任...。
Email Log 》Email Log 是一個 WordPress 外掛,可以輕鬆地記錄和查看所有從 WordPress 發送的電子郵件。, 這在調試 WordPress 網站中與電子郵件相關的問題或存儲發送的電...。
WP OPcache 》清空OPcache, , 在管理列中添加一個按鈕以清空OPcache, 僅清空WordPress絕對路徑中的文件, 可以單個或批次失效文件, 支援記憶體和檔案緩存, 支援多站網路, , ...。
Asgaros Forum 》Asgaros論壇是一個完美的WordPress外掛程式,如果您想要通過一個輕量且功能豐富的討論板來擴展您的網站。它易於設置,超級快速,並完美地集成到WordPress中。...。
Recently Registered 》此外掛會為使用者列表新增一個可排序的欄位,顯示他們註冊的日期和時間。, 主要適用於單站台(因為單站台中完全沒有這方面的顯示)。在多站台網路中,它會為...。
Delete Me 》允許具有特定 WordPress 角色的使用者在「個人資料」(Your Profile) 頁面或任何使用 Shortcodes 的地方,使用 Shortcode [plugin_delete_me /] 刪除自己。, ...。
Root Relative URLs 》這是一個 WordPress 外掛,可將所有 URL 格式轉換為 root-relative URLs,以實現在暫存 / 生產主機環境之間以及在移動設備上進行調試 / 測試時的無縫切換,而...。
Contact Form 7 Polylang Module 》注意:現在 NOTE v2 是 CF7 Smart Grid-layout 外掛的一個延伸。使用此外掛程式前需先安裝它。為什麼呢?可以閱讀這個主題和這個文章。, 此外插程式可使用 Po...。
Multisite Language Switcher 》這是一個簡單、強大且易於使用的 WordPress 多語言外掛程式,可以為 WordPress 多網站 安裝增加多語言支援,例如多個子網域或資料夾(如果您需要跨多個網域建...。
Flag Icons 》此外掛可讓您在網站上加入國旗圖示以及可指定的鏈結,可藉由選擇所需的位置或使用簡碼實現。, 第二版支援 Google 翻譯圖示!, 您只需選擇位置、旗幟以及新增...。
WordPress MU Domain Mapping 》這個外掛讓 WordPress MU 站點或 WordPress 3.0 網路的使用者將其部落格/網站映射到另一個域名。, , 它需要手動安裝,因為一個文件必須複製到 wp-content/。...。
Register IPs 》 垃圾郵件是一回事,但惡意留言和假帳戶卻另當別論。有時候,有些人會決定成為爛人並創建多個帳戶來騷擾您的誠實用戶。此外掛可幫助您通過記錄創建時使用的 I...。
Unconfirmed 》如果您正在運行 WordPress 或 BuddyPress,您可能知道激活過程是最令管理人員頭痛的部分之一。激活電子郵件可能會被垃圾郵件過濾器捕獲,不小心被刪除,也可...。
Pro Mime Types – Manage file media types 》Pro Mime Types, 此外掛適用於 WordPress多站點和單一網站, 此外掛允許您進行以下操作:, , 設置允許的Mime類型, 如果允許,還可以設置最低Pro Sites等級(WPM...。