這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Sidebars

描述

Create sidebars through an admin interface and apply widgets. Using conditions, apply the sidebars to certain pages / posts depending on what you select.

Versions

  1. Version 1.0 – Initial Release
  2. Version 1.1 – Passed slug to dynamic_sidebar at end of control mechanism (lost in original changes)

螢幕截圖

  • The manage sidebars panel where you can delete or edit a sidebar.
  • The add sidebars panel where you can add a new sidebar.

安裝

  1. Upload the entire folder of the plugin (‘sidebars’ folder) to your plugins directory (‘/wp-content/plugins/’ folder).
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. A new item on the menu will appeared that says ‘Sidebars’.
  4. Also, in your template files, location the function dynamic_sidebar and replace it with go_sidebar. The dynamic_sidebar function could be anywhere but it will mostly likely be in the sidebar.php file.

常見問題

In what order do the conditions apply?
  1. The ID of the post / page
  2. The parent of the post / page
  3. The category of the post / page
  4. Get the default sidebar
Do you need any other template tags besides replacing dynamic_sidebar with go_sidebar?

No. As long as you replace dynamic_sidebar with go_sidebar it will work fine.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Sidebars” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Sidebars 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄