Title: バッジ
Author: eroux
Published: <strong>2011年1月28日</strong>
Last modified: 2024年5月3日

---

プラグインを検索

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

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

# バッジ

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

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

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

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

## 説明

Display “Badges” (which are really no more than HTML snippets) from a set of files
in a specified directory off the root of the blog. The directory will default to“./
badges” and the Zip file contains both that directory as well as a “Sample” badge.

Using the Widget you can choose whether to:

 1. enable “Display Badge in a Box” (enabled by default, uses internal CSS)
 2. enable “Display a Drop-Shadow” (probably best used with “Box Mode”)

as well as

 1. decide whether you would like to use a Title
 2. define the directory of the badges.

## スクリーンショット

 * [[
 * Configuring the widget to read badges from `damn-badges` and display them as “
   Badges”.
 * [[
 * The default configuration of the widget, displaying the default path (badges).
 * [[
 * バッジ displayed Padded and Boxed, but with Drop-Shadows disabled.

## インストール

**Install**

 1. Unzip the `badges.zip` file.
 2. Upload `badges.php` to the `/wp-content/plugins/` directory.
 3. 「プラグイン」メニューからプラグインを有効化します。
 4. Use the “Badges” widget.

**Upgrade**

 1. Follow your normal installation process
 2. Open the Widget Control Panel for “Badges” and confirm settings.
 3. Sit back and enjoy…

**Use the WordPress Plug-in System**

 1. Select “Upgrade and Activate”
 2. Congratulate yourself on a sterling job.

## FAQ

### Which naming convention is used for the badges

All badges needs to be named `XXname.inc`, where “XX” is a number (used to determine
ordering) and the “.inc” is required.

### What is the format of the “Badge” files?

You could view the included “demo” file: `00testbadge.inc`, but here’s another, 
slightly simpler, example:

    ```
    <!-- Support CC -->
    <div id="badge-supportcc-inner" onclick="location.href='http://creativecommons.org';" style="cursor: pointer;">
    <img width=88 height=31 alt="http://creativecommons.org" title="Support the Creative Commons!"
        src="http://creativecommons.org/images/support/2010/cc-support.png" />
    <br />
        Support the Creative Commons!
    </div>
    <!-- /Support CC -->
    ```

### How do I style the badges using CSS?

Quite simply by using the `div.badgegroup` class to style a set of badges. To style
them individually, use the `div.badge` class.

### How do I limit the styling to a set of badges?

Look for the relevant “Badge Group’s” ID and then use the `div#badge-ID > div.badge`
CSS selector.

### How do I style a single badge?

Easiest yet: every badge gets a unique ID generated by the plug-in based on the 
badge’s file-name and the directory. Simply use that (you’ll have to inspect the
source to see what the id is; by example the ID generated by my Site-Licence badge
is “badge-damn-licencing-licencing”).

## 評価

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

## 貢献者と開発者

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

貢献者

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

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

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

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

## 変更履歴

#### 2.3

 * Give groupings of badges a different class than badges

#### 2.2

 * Moved to a ‘<div>’ based layout instead of using Lists
 * Split Boxing and Padding into two separate options

#### 2.1

 * Fixed the HTML generated to be cleaner and identify the badge class better
 * Simplified the examples slightly

#### 2.0

 * Cosmetic changes
 * Added (better) examples to the documentation

#### 1.0

 * Initial Public Release

## メタ

 *  バージョン **2.5**
 *  最終更新日 **2年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 6.0またはそれ以降 **
 *  検証済み最新バージョン: **6.5.8**
 *  言語
 * [English (US)](https://wordpress.org/plugins/badges/)
 * タグ
 * [admin](https://ja.wordpress.org/plugins/tags/admin/)[administration](https://ja.wordpress.org/plugins/tags/administration/)
   [books](https://ja.wordpress.org/plugins/tags/books/)[read](https://ja.wordpress.org/plugins/tags/read/)
   [reading](https://ja.wordpress.org/plugins/tags/reading/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/badges/advanced/)

## 評価

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

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

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

## 貢献者

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

## サポート

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

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