Title: Side Content
Author: alfaguru
Published: <strong>2008年7月9日</strong>
Last modified: 2015年1月25日

---

プラグインを検索

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

![](https://s.w.org/plugins/geopattern-icon/side-content.svg)

# Side Content

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

[ダウンロード](https://downloads.wordpress.org/plugin/side-content.zip)

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

 [サポート](https://wordpress.org/support/plugin/side-content/)

## 説明

This plugin provides similar functionality to the [Drupal Side Content module](http://drupal.org/project/sidecontent).

It enables you to define a set of widgets which are effectively placeholders. Each
one is empty until you assign content
 to it when editing a page. This enables you
to extend the content of the page into the sidebar.

Suppose, for example, you have a set of pages about people in your company. You 
could use a side content
 widget to add a biography for each of them, or a photo,
or to list their favourite pizza toppings.

You can use the plugin without any template changes at all, but it does provide 
a simple API so you can test for the presence of side content widgets and adjust
your templates accordingly.

As of release 0.7 of the plugin, it supports the [WP shortcode API](https://codex.wordpress.org/Shortcode_API).
There is also an extra add-on plugin which provides the same support for [NextGEN Gallery](http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/)
shortcodes (development sponsored by [Comunicrea s. n. c.](http://www.comunicrea.com/)).

Release 0.75 fixes a bug affecting side content widgets with names containing characters
other than lowercase alphanumerics. A new contributed extension provides integration
with the qTranslate plugin.

Release 0.8 adds no new functionality but makes the plugin compatible with WP 2.7.

Release 0.9 adds no new functionality but makes the plugin compatible with WP 2.8.1.
Release 1.0 adds no new functionality but makes the plugin compatible with WP 4.1.0.

### API

Use the following code to test for the presence of side content widgets:

    ```
    <?php if(function_exists('the_side_content') && the_side_content()->has_widgets() :?>
    ```

Use the following code to test for the presence of a particular side content widget
called ‘widget name’:

    ```
    <?php if(function_exists('the_side_content') && the_side_content()->has_widgets('widget name') :?>
    ```

The plugin defines a filter, ‘side_content’, which can be used to preprocess side
content widgets before display.

## インストール

 1. Unzip into your `/wp-content/plugins/` directory. If you’re uploading it make sure
    to upload
     the top-level folder. Don’t just upload all the php files and put them
    in `/wp-content/plugins/`.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the settings page (_Options – Side Content_) and create widgets by typing
    names for them into the box (one per line).
 4. You can optionally have side content on individual blog posts as well. Tick the
    checkbox if you want that option.
 5. If you want to use shortcodes in your widget, tick the checkbox if you want that
    option. (Not needed for NextGEN Gallery shortcodes: see the next step).
 6. If you want to use NextGen Gallery shortcodes in your widget, go to the Plugins
    panel and enable Side Content NextGEN Integration.
 7. Assign your widgets to positions in your sidebars (_Design – Widgets_). Note that
    until you give them content they won’t appear anywhere.
 8. Edit a page (or post) for which you want one or more sidebar content widgets. The
    widget entry areas will be found in a sub panel headed “Side Content Widgets”. 
    In each area enter the HTML (including any heading) you wish to appear. The widget
    content will be saved along with the rest of the page or post.

## FAQ

  Why do I get an error when I enable the plugin?

If you see an error message like “Parse error: parse error, unexpected T_STRING,
expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR …” it is because you are running
under PHP4. The plugin requires PHP5.

  Is this plugin WordPress-MU compatible?

As of release 0.6, yes, it should work under WP-MU, although it has only been tested
with the 2.6.3 release, and not very extensively.

  Does the plugin allow side content for blog posts?

Yes. There’s an option on the settings page (_Options – Side Content_) for this.

  My widget content also appears in the custom fields subpanel on the editor page.
Why?

The plugin uses custom fields to store the widget code, but has its own subpanel
for editing to improve ease of use. You can use either to edit your widgets but 
it is best to stick to one or the other.

  Why does the widget does not recognise shortcodes for some plugins?

Not all plugins use the new WP Shortcode API yet. If you need particular shortcodes
to be recognised it may be possible to have an addon developed for that purpose.
Contact the author for more details.

  Will you add the facility to execute PHP code?

There are no plans to add PHP execution support to the plugin. In my opinion this
would not be a good way to use it. Most of those who have requested the feature 
are actually looking for what is offered by the [Widget Logic](https://wordpress.org/extend/plugins/widget-logic/)
plugin, the ability to hide or display content conditionally.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Side Content はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献し
ています。

貢献者

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

[“Side Content” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/side-content)

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

[コードを閲覧](https://plugins.trac.wordpress.org/browser/side-content/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/side-content/)をチェックするか、
[開発ログ](https://plugins.trac.wordpress.org/log/side-content/)を [RSS](https://plugins.trac.wordpress.org/log/side-content/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## メタ

 *  バージョン **1.0**
 *  最終更新日 **11年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 2.5またはそれ以降 **
 *  検証済み最新バージョン: **4.1.0**
 *  言語
 * [English (US)](https://wordpress.org/plugins/side-content/)
 * タグ
 * [page](https://ja.wordpress.org/plugins/tags/page/)[sidebar](https://ja.wordpress.org/plugins/tags/sidebar/)
   [widget](https://ja.wordpress.org/plugins/tags/widget/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/side-content/advanced/)

## 評価

 5つ星中2つ星

 *  [  0 5-星レビュー     ](https://wordpress.org/support/plugin/side-content/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/side-content/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/side-content/reviews/?filter=3)
 *  [  1 2-星レビュー     ](https://wordpress.org/support/plugin/side-content/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/side-content/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/side-content/reviews/#new-post)

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

## 貢献者

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

## サポート

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

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

## 寄付

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

 [ このプラグインに寄付 ](http://figure-w.co.uk/)