To add Google and Slashdot into your Sociable WordPress Plugin, please do the following:

Slashdot:
To add Slashdot into your Sociable, copy and paste to following code into the "$sociable_builtin_known_sites" array in "sociable.php":

PHP:
'Slashdot' => Array(
  'favicon' => 'slashdot.png',
  'url' => 'http://www.slashdot.org/bookmark.pl?
    url=PERMALINK&title=TITLE'
,
),

Next copy and paste the following into "$sociable_files" array:

PHP:
'images/slashdot.png',

Then save the Slashdot icon below and upload it into "sociable/images/" in your WordPress plugin folder.

Slashdot

After that go to "Admin->Options->Sociable" and click "Restore Built-in Defaults" for the icon to appear in the option page.

Google:
To add Google, copy and paste the following code into the "$sociable_builtin_known_sites" array in "sociable.php":

PHP:
'Google' => Array(
  'favicon' => 'google.png',
  'url' => 'http://www.google.com/ig/add?
    feedurl=PERMALINK&blocked=TITLE'
,
),

Next copy and paste the following into the "$sociable_files" array:

PHP:
'images/google.png',

Save the following Google icon and upload to "sociable/images/" in your WordPress plugin folder.

Google

Lastly go to "Admin->Options->Sociable" and click "Restore Built-in Defaults" for the icon to appear in the option page.

Tags: , , , , , ,

Leave a Reply