Title: Google+ Page Badge
Author: bkmacdaddy
Published: <strong>2 de febrer de 2012</strong>
Last modified: 2 de febrer de 2012

---

Cerca extensions

![](https://ps.w.org/google-page-badge/assets/banner-772x250.jpg?rev=499269)

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/google-page-badge_cdcad0.svg)

# Google+ Page Badge

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

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

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

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

## Descripció

This plugin allows you to place a widget on your sidebar that displays the official
Google+ badge. You can choose to show either the Standard or Small size badge, and
you can show as many different badges on a page or post as you choose – each with
their own configuration.

You can also show a Google+ badge using template tags in your theme files or in 
a page or post using the simple shortcode (See FAQs for instructions).

**NOTE:** Google+ only allows this type of badge for a Google+ _page_ and not a 
personal Google+ _profile_, so this plugin will only work for Google+ business _pages_.

## Captures

 * [[
 * The plugin settings page
 * [[
 * The widget settings
 * [[
 * Badge that is displayed when “smallbadge” is the chosen size
 * [[
 * Default badge that is displayed when size is not selected

## Instal·lació

 1. Upload the folder `google-plus-page-badge` and its contents to the `/wp-content/
    plugins/` directory or use the wordpress plugin installer
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. A new “Google+ Page Badge” widget will be available under Appearance > Widgets,
    where you can add it to your sidebar and edit all settings of the plugin.
 4. To use the template tag or shortcodes, go to Settings > Google+ Page Badge to enter
    your Google+ Page ID (See FAQs for full instructions)

## PMF

  How do I use the shortcode in the post or page editor?

While editing the post or page that you want to add your Pins to, enter the shortcode[
gpluspb]. Without any other parameters, the shortcode will default to display the
Google+ Page ID that has been saved in the plugin settings page and the Standard
badge size. You can add two optional parameters to the shortcode: id=”Google+ Page
ID” and size=”smallbadge”. Here’s an example:

    ```
    [gpluspb id="100677423206997674566" size="smallbadge"]
    ```

The above example will link to the bkmacdaddy designs Google+ page and show the 
smaller badge size.

If you leave out any of the parameters they will revert to the defaults listed below.

  How do I use the plugin in my theme?

Anywhere in your theme templates, you can display a Google+ badge by placing the
following code where you want it to appear:

    ```
    <?php gppb($id, $size); ?>
    ```

Where:

 * **id** is the 21-digit string at the end of the Google+ Page URL (optional, default
   is the ID that is saved in the plugin settings page)
 * **size** is the size of the badge to display, either “badge” or “smallbadge” (
   optional, default = badge)

Example:

    ```
    <?php gppb('100677423206997674566', 'smallbadge'); ?>
    ```

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

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

Col·laboradors

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

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

### Interessats en el desenvolupament?

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

## Registre de canvis

#### 1.0

 * First version

## Meta

 *  Versió **1.0**
 *  Darrera actualització **fa 14 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 2.8 o posterior **
 *  Provada fins a **3.3.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/google-page-badge/)
 * Etiquetes
 * [badge](https://ca.wordpress.org/plugins/tags/badge/)[google](https://ca.wordpress.org/plugins/tags/google/)
   [Google Page](https://ca.wordpress.org/plugins/tags/google-page/)[google plus](https://ca.wordpress.org/plugins/tags/google-plus/)
   [Google+ badge](https://ca.wordpress.org/plugins/tags/google-badge/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/google-page-badge/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

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

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

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

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SXTEL7YLUSFFC)