Description
RRSSB stands for ridiculously responsive social share buttons and is an adaptation of Kurt Noble’s library for web. Install the plugin and use the exposed function or shortcode to display social sharing buttons on your site.
rrssb(options);
Function options can be a string (comma separated for multiple values)
or an array of strings
[rrssb options=””]
Shortcode options can be a string (comma separated for multiple values)
Screenshots
Installation
Download or find in WordPress library. Install and activate. To make buttons appear, use the shortcode in one of your posts or pages. Alternatively use the exposed function rrsb(options); in any template file.
[rrssb options="<a comma separated list of social buttons>"]
For example:
[rrssb options="email, facebook, twitter, googleplus, linkedin, reddit, youtube, pinterest, pocket, github, tumblr, hackernews"]
Or use the exposed function rrssb(options); in any of your templates.
<?php
if (function_exists('rrssb')) {
rrssb(array(
'facebook',
'twitter',
'googleplus'
));
}
?>
A single comma separated string will work too!
<?php
if (function_exists('rrssb')) {
rrssb('facebook, twitter, googleplus');
}
?>
Use the option ‘outside_loop’ if you want to add buttons to your header or to an archive page.
FAQ
- Why aren’t the buttons showing up?
-
Did you add the shortcode or function? Make sure you are correctly passing the options in according to the examples in the installation section.
- Why aren’t images or descriptions being populated in the share screens?
-
A few notes about this:
If you are working on a local development site, the pictures won’t show up and the Twitter character count will be off.
In a hosted environment, images will get pulled from the Facebook or Twitter metatags (you must include these yourself).
If the metatags are not available, images will be taken from the article in which the buttons are found.
If the description metatag is not available, it will be copied from your site’s tagline in WordPress’s settings.
Reviews
Contributors & Developers
“RRSSB” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “RRSSB” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
initial release