Title: PG Context Sidebar
Author: PeoplesGeek
Published: <strong>2012年5月14日</strong>
Last modified: 2021年3月24日

---

プラグインを検索

![](https://ps.w.org/pg-context-sidebar/assets/banner-772x250.jpg?rev=544104)

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/pg-context-sidebar/assets/icon-128x128.png?rev=1461545)

# PG Context Sidebar

 作者: [PeoplesGeek](https://profiles.wordpress.org/peoplesgeek/)

[ダウンロード](https://downloads.wordpress.org/plugin/pg-context-sidebar.2.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/pg-context-sidebar/#description)
 * [レビュー](https://ja.wordpress.org/plugins/pg-context-sidebar/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/pg-context-sidebar/#installation)
 * [開発](https://ja.wordpress.org/plugins/pg-context-sidebar/#developers)

 [サポート](https://wordpress.org/support/plugin/pg-context-sidebar/)

## 説明

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

## FAQ

### 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 ](https://profiles.wordpress.org/peoplesgeek/)

[“PG Context Sidebar” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/pg-context-sidebar)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/pg-context-sidebar/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/pg-context-sidebar/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/pg-context-sidebar/)を
[RSS](https://plugins.trac.wordpress.org/log/pg-context-sidebar/?limit=100&mode=stop_on_copy&format=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**
 *  最終更新日 **5年前**
 *  有効インストール数 **100+**
 *  WordPress バージョン ** 3.3またはそれ以降 **
 *  検証済み最新バージョン: **5.6.17**
 *  言語
 * [English (US)](https://wordpress.org/plugins/pg-context-sidebar/)
 * タグ
 * [custom sidebars](https://ja.wordpress.org/plugins/tags/custom-sidebars/)[page sidebar](https://ja.wordpress.org/plugins/tags/page-sidebar/)
   [post sidebar](https://ja.wordpress.org/plugins/tags/post-sidebar/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/pg-context-sidebar/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/pg-context-sidebar/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/pg-context-sidebar/reviews/)

## 貢献者

 *   [ PeoplesGeek ](https://profiles.wordpress.org/peoplesgeek/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/pg-context-sidebar/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BQNMJDVQXFSG2)