[WordPress] 外掛分享: Core Sidebars

首頁外掛目錄 › Core Sidebars
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
30+
安裝啟用
尚無評分
6570 天前
最後更新
問題解決
WordPress 2.5+ v1.0.0 上架:2008-03-21

內容簡介

這個外掛可以讓您為每個頁面或文章設置專門的內容和小工具側邊欄。例如,在精選博客文章上,您可能想放置額外的聯繫方式,而在日曆頁面上,您可能想放置一個日曆小工具或一些文本事件或兩者都有。

小工具支援

預設啟用小工具支援,您不需要添加任何代碼。唯一建議的更改是進入您的樣板的 functions.php 檔案,刪除包含類似以下函數的任何程式碼。

if ( function_exists('register_sidebar') )
register_sidebar();

要在頁面或文章上啟用小工具,請前往管理畫面,點擊“新增小工具!”以新增或“移除小工具”以刪除。

備註

這個外掛僅支援 WordPress 2.5+。它將無法在較舊的版本中運行,事實上可能會損壞較舊版本中的數據。請及時更新 WordPress 和這個外掛。

當使用這個外掛而不是 Page Sidebars 時,這個外掛將覆蓋先前使用的任何小工具配置。同時,請勿與 Page Sidebars 一起使用此腳本,因為這樣會導致兼容性問題。使用此外掛將會覆蓋您在樣板中定義的其他小工具側邊欄,請謹慎操作。

對於 WordPress 版本 2.3.3 或更低版本的舊版外掛,請查看 Page Sidebars。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Core Sidebars」→ 直接安裝(推薦)

原文外掛簡介

A plugin that enables you to have dedicated content and/or widget sidebar for each specific page or post. For example, on a featured blog post you may want to place additional contact while on a calendar page you might want to place a calender widget or some text events or both.
Widget Support
Widget support is enabled by default and you do not have to add any code. The only recommended change is that you go to your template’s functions.php file and remove any coding containing a function similar to the one below.
if ( function_exists('register_sidebar') )
register_sidebar();

To enable widgets on a page or post, go to the manage screen and click ‘Add Widgets!’ to add or ‘Remove Widgets’ to remove.
Notes
This plugin is ONLY for WordPress 2.5+. It will not work with lower versions and may in fact corrupt the data in older versions. Please stay up to date with both WordPress and this plugin.
When using this plugin instead of Page Sidebars, this plugin will overwrite any of the widget configurations previously used. Also, do NOT use this script with Page Sidebars as it will lead to compatibility issues. Using this plugin will overwrite your other widget sidebars defined in your template. Proceed with caution.
For an older version of this plugin for WordPress versions 2.3.3 or lower, check out Page Sidebars.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon