generating methods; you are stuck with their styles and icons.
I wanted to use a custom style with a different set of icons. To
accomplish this, I had to take advantage of the services various “URL”
All the services offer this method, but most of them are poorly
documented and are hard to find details on.
After spending hours browsing the web for the various “URL” submission
methods, I decided that once I finished I would post them all together
in one place so people
can easily find them and create their own custom share buttons. Below, I
am going to offer you the various services URL’s and teach you how to
use them on your site.
Those are the URL’s you need to know, now, I know some of you are say
what do I do with them? These are the URL you link your social icons
too. Replace [TITLE] with the title of the page or article.
Replace [URL] with the link back to the page or article. Both of
these values need to be URL in encoded for the submissions to process
correctly. If you are using php, you can easily URL encode anything
<?PHP echo urlencode("VARIBLE"); ?>
If you are using WordPress, you can easily substitue the [URL] and
[TITLE] values with WordPress codex functions. Below is the code you can
use to replace the [TITLE] value:
<?php print(urlencode(the_title())); ?>
Now, the the code to replace the [URL] value:
<?php print(urlencode(get_permalink())); ?>
<p>Now, lets take a look at it all put together for a general page with
a “Share on Twitter” button:
<a href="http://twitter.com/home?status=This is the blog
height="18" width="18" alt="Share On Twitter" /> </a>
Now, a wordpress example. This example substitutes the [TITLE] and [URL]
values automatically with the current articles information with URL
<a href="http://twitter.com/home?status=<?php print(urlencode(get_permalink())); ?>+<?php print(urlencode(the_title())); ?>">
<img src="http://mudstock.com/wp-content/themes/ATLChris/images/twitter.png" height="18" width="18" alt="Share On Twitter" /> </a>
I hope this helps to you create your very own custom share buttons.