Title: EP Admin Messages
Author: Pär Thernström
Published: <strong>2013年8月21日</strong>
Last modified: 2013年11月5日

---

プラグインを検索

![](https://ps.w.org/ep-admin-messages/assets/banner-772x250.png?rev=761252)

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

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

# EP Admin Messages

 作者: [Pär Thernström](https://profiles.wordpress.org/eskapism/)

[ダウンロード](https://downloads.wordpress.org/plugin/ep-admin-messages.0.1.6.zip)

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

 [サポート](https://wordpress.org/support/plugin/ep-admin-messages/)

## 説明

With EP Admin Messages you can show messages in the admin area of WordPress. Each
message can be shown at multiple places and can be limited to only be shown to specific
user groups using capabilities.

This plugin requires that you add a config file to your themes folder. It’s mostly
useful for theme developers that want tho show messages in the admin to the users
of their site.

#### Plugin features

 * Show messages in WordPress Admin
 * Show messages in different places
 * Show different messages for different users
 * Format messages using HTML
 * Stores settings in a JSON-file. No config screen!
 * Suitable for website and theme developers that want to push message changes automatically.

#### Messages are shown where you want them to be shown

You have full control over where your messages will be shown.
 Each message can 
be placed in one or several of the following places:

 * dashboard
 * overview screen for posts, pages, and custom post types
 * edit screen for posts, pages and custom post types
 * posts with a specific slug or a slug based on a wildcard
 * user overview screen and on user profiles
 * plugin install/update page

#### Messages are only shown to the users that you choose

Each message can be limited to be shown only to users with a specific [capability](https://codex.wordpress.org/Glossary#Capabilities)
or [role](https://codex.wordpress.org/Roles_and_Capabilities#Roles).

You can for example show one message to your editors, i.e. users with the capability“
edit_posts”, and another message to your admins, i.e. users with the capability “
manage_options”.

#### Messages can be selectd to be shown only on the posts you choose

Messages can be limited to only be shown on posts that match a specific slug, or
a slug that matches a wildcard.

This way it’s easy to for example show page specific information, letting a user
know what a page is for, what they should put in in, and so on.

#### JSON-based config file

All settings are configured with a config file ([view example config](https://github.com/EarthPeople/ep-admin-messages/blob/master/ep-config-example.json))
that uses JSON and that you put in the themes directory.

This means that there are no settings for the user to change. This also means that
you can add messages using your regular deploy method. Just upload an updated config
file and you’re done. No database syncing needed; hooray!

#### Usage scenarios

To give you an idea what this plugin may be used for, I’ll give you a list of what
I do with it.

EP Simple Messages can be used to…

 * … write documentation for users and developers.
 * … show users what [Mustache tags](http://mustache.github.io/) are available for
   a specific post. You know, things like `{{user.firstname}}` or `{{campaign.name}}`.
 * … show a message on the dashboard with support info, like who made the site and
   who they should contact for support questions.
 * … let the user know what shortcodes that are available for all posts.

#### Open source

The [source code for EP Admin Messages](https://github.com/EarthPeople/ep-admin-messages)
is available at GitHub.

## スクリーンショット

 * [[
 * Three messages being shown on the edit post screen. Notice that you can add HTML
   to your messages and add headlines, links, images, and so on.
 * [[
 * Four messages being shown on the dashboard.

## インストール

 1. Upload the plugin folder to your `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Add a file called `.ep-config.json` to your theme directory. This file contains
    your config in JSON-format.
 4. Optional: update your `.htaccess` to disable access to the config file used by 
    this plugin (if you don’t do this everyone with access to your site may be able
    to read your messages):
 5. Forbid access to all files beginning with a dot (.).
 6. RedirectMatch 403 /..*$
 7. Or forbid access to only .ep-config.json
 8. RedirectMatch 403 /.ep-config.json$

## 評価

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

## 貢献者と開発者

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

貢献者

 *   [ Pär Thernström ](https://profiles.wordpress.org/eskapism/)
 *   [ Earth People ](https://profiles.wordpress.org/earth-people/)

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

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

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

## 変更履歴

#### 0.1.6

 * Allow installation for php 5.3 or higher. Prev was set to higher than 5.3 (but
   not including 5.3).

#### 0.1.5

 * Fixed a notice warning when creating new post

#### 0.1.4

 * Bump version because I can’t use SVN properly…

#### 0.1.3

 * Added support for limiting messages to users based on their role. Usage: `user_role:"
   editor,author"`
 * Added support for custom title in metaboxes. Usage: `"title": "This is the title
   of the message"`

#### 0.1.2

 * Added support for limiting messages to users based on their ID or their username.
   Usage: “`username: “admin”“

#### 0.1.1

 * Use `.ep-config.json` instead of `ep-config.json` for configuration file. Makes
   it a bit more secure, since dot-files often are hidden and protected by default.
 * Example config `config-example.json` updated with better examples and is now 
   in english.
 * Fixed bug with notice warning when creating new posts.
 * Added screenshots.

#### 0.1

 * First working version.

## メタ

 *  バージョン **0.1.6**
 *  最終更新日 **13年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 3.6またはそれ以降 **
 *  検証済み最新バージョン: **3.7.41**
 *  言語
 * [English (US)](https://wordpress.org/plugins/ep-admin-messages/)
 * タグ
 * [admin](https://ja.wordpress.org/plugins/tags/admin/)[messages](https://ja.wordpress.org/plugins/tags/messages/)
   [notices](https://ja.wordpress.org/plugins/tags/notices/)[wordpress admin](https://ja.wordpress.org/plugins/tags/wordpress-admin/)
   [wp-admin](https://ja.wordpress.org/plugins/tags/wp-admin/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/ep-admin-messages/advanced/)

## 評価

 5つ星中3.3つ星

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

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

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

## 貢献者

 *   [ Pär Thernström ](https://profiles.wordpress.org/eskapism/)
 *   [ Earth People ](https://profiles.wordpress.org/earth-people/)

## サポート

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

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

## 寄付

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

 [ このプラグインに寄付 ](http://earthpeople.se/)