Title: Sections by Wesfed
Author: Wes
Published: <strong>2013年9月25日</strong>
Last modified: 2013年9月25日

---

プラグインを検索

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

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

# Sections by Wesfed

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

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

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

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

## 説明

This plugin allows you to create admin-manageable content sections across your site.
You simply add the small code (php or shortcode) where you would like the section
to appear, then edit it in the admin panel. Extremely easy to use, and allows an
unlimited number of sections to be created.

Feel free to help develop this plugin at: https://github.com/wesf90/wp-wf-sections

### How to Use

You create sections by implementing them into your website. You _can_ create them
via Admin > Sections > Add New, however that is not the intended use.

To create a section in the content of your site via the admin panel, simply add 
the following shortcode to your page, post, or widget.

    ```
    [wf_section title="My New Section"]
    ```

To create a section anywhere in a php file of your website, simply use the following
code:

    ```
    <?php new WF_Section('My New Section'); ?>
    ```

After adding this code, the section will automatically create itself in the admin
panel’s “Section” area. You can then edit the content from there.

### Section Options

This plugin offers a number of options which allow for quicker development, and 
easier implementation, whether you’re using the shortcode or the PHP method to implement
it.

#### PHP

The defaults for this code are:

    ```
    WF_Section($title, $ad=false, $echo=true);
    ```

To alter these defaults, simply write the code as:

    ```
    new WF_Section('My section');                    // Simple placement with echo
    new WF_Section('My ad', '300x250');              // Created a section with a pre-filled ad image. Great for wireframing!
    new WF_Section('My echo section', false, true);  // Doesn't display as an ad, and returns the content instead of echoing it
    ```

To allow even more features, use an array to assign your options (defaults are shown):

    ```
    new WF_Section(array(
        'title'      => '',         // The title of the section
        'default'    => '',         // The default content upon creation
        'shortcodes' => true,       // Parse shortcodes inside the content?
        'ad'         => false,  // Is this an ad? If so, place the dimensions such as '300x250'
        'echo'       => true        // Echo or return the content
    ));
    ```

#### Shortcode

To set your own options when using the shortcode, simply add the option name to 
the shortcode call. The options and their defaults are the same as listed above 
for the PHP method:

    ```
    [wf_section title="Your Title" default="The default content upon creation" shortcodes=true ad="300x250" echo=true]
    ```

#### Creating Ad Placements

This plugin also allows you to quickly create sectional ad placements by setting
the size in the shortcode or function call (shown above). A pre-filled stand-in 
image will be inserted as the content of your section by default. This can always
be taken out later and replaced with your actual ad’s code. This is a great tool
for creating design mockups.

### Arbitrary section

## インストール

The easiest way to add this plugin to your site is to go to Admin > Plugins > Add
New and search for “WF Sections”. However, feel free to install it manually:

 1. Upload the `wf-sections` directory to your `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Follow the _How to Use_ instructions found in the description of this plugin.

## 評価

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

## 貢献者と開発者

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

貢献者

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

[“Sections by Wesfed” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wf-sections)

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

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

## 変更履歴

#### 1.0

First commit 🙂

## メタ

 *  バージョン **1**
 *  最終更新日 **13年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 3.0.1またはそれ以降 **
 *  検証済み最新バージョン: **3.6.1**
 *  言語
 * [English (US)](https://wordpress.org/plugins/wf-sections/)
 * タグ
 * [ads](https://ja.wordpress.org/plugins/tags/ads/)[adsense](https://ja.wordpress.org/plugins/tags/adsense/)
   [content](https://ja.wordpress.org/plugins/tags/content/)[sections](https://ja.wordpress.org/plugins/tags/sections/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wf-sections/advanced/)

## 評価

 5つ星中5つ星

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

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

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

## 貢献者

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

## サポート

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

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