WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

PG Context Sidebar

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

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

PG Context Sidebar

由 PeoplesGeek 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

Use this widget to show content in any sidebar that is related to the current page or post. Have a targeted message or call too action that relates to this page.

  • If the page is advertising a product put details of special deals.
  • If post is a tutorial then you could put details of prerequisites.
  • Add a quote relevant to your article that displays in the sidebar.

Sometimes you want to display a promotion in the sidebar when you display a particular page, or highlight a quote or reference that is particularly relevant – but only to that page.

Simply enter the extra content on your page when you create or edit it. Then place the widget into your sidebar where you want it to display.

If you don’t have content to display for a particular page then the sidebar widget is not shown.

Features

  • Add extra content to any custom post type – select the types where you want to be able to enter information.
  • Use html in your content for emphasis, images and links.
  • Easily copy the content of one context sensitive sidebar page to another
  • Use one context sensitive sidebar page as a template for others so that changes are instantly reflected everywhere it is used.
  • Easily identify pages that have context sensitive sidebar information from the ‘all pages/posts’ view

Localisation: if you can provide a translation for the administration text then please get in touch and I will add a translation for the language you provide.

螢幕擷圖

  • Shows new fields for your sidebar content on the post page
  • Shows the resulting content in the sidebar for the page
  • Shows the ability to select the page or post types that allow context sensitive content

安裝方式

  1. Upload all the files into your plugins directory
  2. Activate the plugin at the plugin administration page
  3. On each page or post that you want to display context related information enter this into the Context Sidebar meta-box
  4. Add the PG Context Sidebar widget to the sidebar in your theme
  5. Go to settings and select the page types that you want to use with Context Sidebar

常見問題集

What if I don’t have sidebar content for every page

The sidebar is only shown if there is content to be displayed. If you have no content for the sidebar on a particular page then leave the fields empty

How do I hide the meta-box for some post types

The Context Sensitive Sidebar meta box will show in all post types by default. If you want to hide the meta-box for a particular post type then go to the admin page located under Settings and un-tic that post type.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈PG Context Sidebar〉的開發相關工作。

參與者
  • PeoplesGeek

將〈PG Context Sidebar〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

Version 2.1

  • Updated Widget constructor to newer PHP version to prevent depreciation warnings in debug log
  • Tested with WordPress 4.7.5
  • Bumped and tested with WordPress 5.2.1

Version 2.0.1

  • Tested compatibility with WordPress 3.8.1
  • Added logic to stop the sidebar icon showing in post types where it had not been selected.
  • Added the ability to exclude the copy functionality from some post types (was failing for some blogs with a large number of posts)

Version 2.0.0

  • Added the ability to copy from another page/post
  • Added the ability to use a page/post as a template that automatically updates another page/post
  • Allow an icon to be shown on the ‘all pages’ / ‘all posts’ pages so it is easy to see which ones have content entered
  • Added support for admin language translations (Localization)

Version 1.0.1

  • Fixed filter on ‘widget_text’ for content and allow line breaks and html in the content

Version 1.0.0

  • Initial Release

中繼資料

  • 版本 2.1
  • 最後更新 4 年前
  • 啟用安裝數 100+
  • WordPress 版本需求 3.3 或更新版本
  • 已測試相容的 WordPress 版本 5.6.14
  • 語言
    English (US)
  • 標籤
    custom sidebarspage sidebarpost sidebar
  • 進階檢視

評分

這個項目尚無任何評論記錄。

新增使用者評論

查看全部使用者評論

參與者

  • PeoplesGeek

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
程式碼,如詩