Show one or multiple Google+ badges for your G+ page in a widget, using a shortcode, or with template tags.
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.
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); ?>
<?php gppb('100677423206997674566', 'smallbadge'); ?>
Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 4 years ago
Active Installs: 100+
Got something to say? Need help?