Title: Badge
Author: eroux
Published: <strong>13 de febrer de 2011</strong>
Last modified: 3 de maig de 2024

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Badge

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

[Baixa](https://downloads.wordpress.org/plugin/badge.zip)

 * [Detalls](https://ca.wordpress.org/plugins/badge/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/badge/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/badge/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/badge/#developers)

 [Suport](https://wordpress.org/support/plugin/badge/)

## Descripció

Display «Badges» in the side-panel which points to a web-site and an image which
is then used to build the «badge».

To access the configuration you have to go to **_Appearance_ > _Widgets_** and edit
the settings in the Panel.

Using the Widget you can choose whether to:

 1. (Optionally) display a Title
 2. Link to a site
 3. Required link to an image to mark that site (any size will work, but the «standard»
    seems to be 88 pixels wide by 31 pixels high)
 4. Pad the Badge (including centring the text); some people may prefer using their
    own CSS, so this is an optional configuration.
 5. Enable «Display Badge in a Box» (enabled by default)
 6. Enable the Displaying of a Drop-Shadow

If more control is needed, or more badges need to be displayed, the [badges plugin](https://wordpress.org/extend/plugins/badges/)
on the WordPress site might be a better fit.

## Captures

[⌊Create a "Licensing" badge that points to the Creative Commons website and uses
a CC 88x31 banner⌉⌊Create a "Licensing" badge that points to the Creative Commons
website and uses a CC 88x31 banner⌉[

Create a «Licensing» badge that points to the Creative Commons website and uses 
a CC 88×31 banner

[⌊The result of the configuration in No 1⌉⌊The result of the configuration in No
1⌉[

The result of the configuration in No 1

[⌊Boxing a Badge to SpreadFirefox with an added drop-shadow⌉⌊Boxing a Badge to SpreadFirefox
with an added drop-shadow⌉[

Boxing a Badge to SpreadFirefox with an added drop-shadow

[⌊The resultant Badge⌉⌊The resultant Badge⌉[

The resultant Badge

## Instal·lació

**Install**

 1. Unzip the `badges.zip` file.
 2. Upload `badges.php` to the `/wp-content/plugins/` directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 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.

## PMF

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

Quite simply by using the `div.badge` class.

### How do I style a single badge?

Every badge gets a unique ID generated by the plug-in based on the plug-in’s name
and the badge’s container ID. This will likely look something like «inner-badge-[
NUMBER]».

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Badge» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

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

[Traduïu «Badge» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/badge)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/badge/), baixeu-vos
el [repositori SVN](https://plugins.svn.wordpress.org/badge/), o subscriviu-vos 
al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/badge/) 
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/badge/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.5

 * Very minor update to update the links to my blog
 * Tested up to WordPress 5.2.3

#### 1.1

 * Minor update to add an «id» selector to the displayed badges

#### 1.0

 * Initial Public Release

## Meta

 *  Versió **1.6**
 *  Darrera actualització **fa 2 anys**
 *  Instal·lacions actives **80+**
 *  Versió del WordPress ** 6.0 o posterior **
 *  Provada fins a **6.5.8**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/badge/)
 * Etiquetes
 * [admin](https://ca.wordpress.org/plugins/tags/admin/)[administration](https://ca.wordpress.org/plugins/tags/administration/)
   [badges](https://ca.wordpress.org/plugins/tags/badges/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/badge/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/badge/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/badge/)