Title: Media2Layout
Author: nickpdx
Published: <strong>2009年6月18日</strong>
Last modified: 2009年6月19日

---

プラグインを検索

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

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

# Media2Layout

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

[ダウンロード](https://downloads.wordpress.org/plugin/media2layout.0.1.1.zip)

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

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

## 説明

Media2Layout facilitates the dynamic inclusion of media library artwork into predefined
places in your site’s theme. It creates named positions (by default “campaign” and“
header”) which can be assigned a media item per each Page.

 * Adds an admin menu item under Themes to edit your Position names
 * Adds a dropdown control when editing Pages to select the images for each Position
   in that Page

To insert the images into your theme, just add a bit of PHP code to your theme in
the appropriate spot, for example:

    ```
    <?php Media2Layout::banner('foo');?> 
    ```

For the position named “foo” this would print an tag for the media assigned to the
Foo position of the current page (or print nothing if no media is assigned to that
position). Currently it wraps the in a

<

div> with class “media2layout_[position-name]”.

## スクリーンショット

[⌊The Media2Layout position admin screen⌉⌊The Media2Layout position admin screen⌉[

The Media2Layout position admin screen

[⌊Media2Layout annotation for position "campaign" in a custom theme⌉⌊Media2Layout
annotation for position "campaign" in a custom theme⌉[

Media2Layout annotation for position “campaign” in a custom theme

[⌊Assigning image from media library to "campaign" position for a Page⌉⌊Assigning
image from media library to "campaign" position for a Page⌉[

Assigning image from media library to “campaign” position for a Page

## インストール

 1. Extract Media2Layout archive to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use the admin menu under Themes to create a named media position
 4. Add that position to your template(s) by inserting `<?php Media2Layout::banner('
    position-name-here');?>`
 5. Assign media to your media positions per each Page

## 評価

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

## 貢献者と開発者

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

貢献者

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

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

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

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

## メタ

 *  バージョン **0.1.1**
 *  最終更新日 **17年前**
 *  有効インストール数 **10未満**
 *  WordPress バージョン ** 2.7またはそれ以降 **
 *  検証済み最新バージョン: **2.7**
 *  言語
 * [English (US)](https://wordpress.org/plugins/media2layout/)
 * タグ
 * [cms](https://ja.wordpress.org/plugins/tags/cms/)[media](https://ja.wordpress.org/plugins/tags/media/)
   [page](https://ja.wordpress.org/plugins/tags/page/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/media2layout/advanced/)

## 評価

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

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

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

## 貢献者

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

## サポート

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

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