Adding those social bookmarking buttons at the end of your post
Posted by Daniel - 1,764 Views
It is a good option to add the social bookmarking buttons at the end of your post right? The easiest way to do it is by using one of the available plugin called Add Me Dichev, it is a bundle of social bookmarker buttons packed as a WordPress plugin by Alexander Dichev. It will insert some even many social bookmarking buttons at the of end your post. All you need to do is install it to have it setup. That simple BUT unfortunately it does not happen here on my blog.
Somehow the installation of Add Me Dichev is crashing the ContuttoPDF - a php warning message - header already sent (something like that) and it will stop the ContuttoPDF plugin to work - too bad since I like both plugins, so I decide to disable the Add Me Dichev plugin but keep trying to have the feature of it by adding it into the page outside the plugin system or manually as a pure php function.
Did I say manually? Yes, I will show you how to add those buttons manually in case you’re also having the same problem as mine, and here it goes.
First, deactivate the Add Me Dichev plugin then if you take a look on the addme_dichev.php source code you will notice that it only has one function named add_me($content). Copy that function then paste it to your single.php. Save the file so now you have the function ready to be called.
Still in single.php, to call the function, find the_content() function within your wp loop then put this line of code right under it or somewhere you want the bookmarker buttons will be displayed:
If you need to to alter the appearence of the button group you can do it by CSS. The original div block name is “bookmarkbuttons“, just add styling to that div layer to get your desired result.
In case you want to get the same bookmarker buttons styling as what I have for this blog, here is the CSS code:
padding: 0px;
}
#bookmarkbuttons a {
float: left;
padding: 5px;
border: 1px dotted #fff;
margin-right: 12px;
}
#bookmarkbuttons h3 {
color: #000;
font-weight: bold;
padding-left: 0px;
}
#bookmarkbuttons a:hover {
border: 1px solid #c0c0c0;
}
__________________________
The following posts are programmatically considered as related to the current post by YARPP Plugin:
Related posts brought to you by Yet Another Related Posts Plugin.
Latest from Programming
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer
- Resize Image or Crop Image with Joe Lencioni’s Smart Image Resizer, WordPress Setup
- Free Softwares to help you learn Regular Expression or to enhance your RegEx skill
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
2 Responses to “Adding those social bookmarking buttons at the end of your post”
Leave a Reply
Latest Blog Entries
- Sweet Home 3D, a free home design software
- 26x Optical Zoom on a Compact Digital Camera?
- Windows 7 Release Candidate is now available
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- The Lack of Chances is the Source of Poverty, Can we make a different?
- SmartFTP Client is no longer Free. What would be the best replacement for it?
- Kantaris Media Player, The most suitable Free Media Player on my Audio Environment
Categories
Neighbours and Friends
- Anti Teori
- Busby SEO Test Page
- Deny Sri
- Digital Media Convert
- Freeware Maniac
- Oeroek
- RidhoCyber
- Suraja Web
Comments - Thanks Guys :)
Therese Lachance: Hi, Any idea how to have ContuttoPDF fetch the correct page language?
Marlena Albu: Super Blog, Dude! I am constantly on the watch for new and interesting sites and postings about audio equipment… which is what...
tresloukadu: yo how did u fixed when the tags shows <? and it shows < “& l t ; ” ?? please send me an email.
Sean: This is a great piece of code and thanks for adding the updates. Sean’s last blog post: Not All Text Message Marketing Is Created...
rodhy: Thank for your code, it very usefull for me. best regard.
Most Popular Entries
- Passing arguments to your VB.NET console application
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
- ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
- An example: Using CPort Delphi Component to read data from your cellphone
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
Software Collections
- Sweet Home 3D, a free home design software
- SmartFTP Client is no longer Free. What would be the best replacement for it?
- Kantaris Media Player, The most suitable Free Media Player on my Audio Environment
- TCPView for Windows, Tool to check TCP and UDP Connections on your system
- The Code Snippet Plugin, my favourite syntax highlighter plugin for WordPress
Blogging Related Stuff
- Change the WordPress permalink structure to the best format, and yes it’s a little bit scary :D
- Something is wrong, the Google Search Result from my blog looks bad, don’t laugh please :D
- Several tips to reduce Blog Noise, especially when your blog covers more than one niche
- How to remove your indexed pages or even your entire site from Google and Yahoo!


















February 4th, 2008 at 7:39 am
Hello, everybody! I’ve found the error in the plugin source. It was a whitespace at the end of the plugin file after the closing php tag. Now it is working fine without errors.
Thanks and good luck!
February 4th, 2008 at 9:13 am
Hi Alexander, thanks for the update, you have a good plugin there, simple but very useful :)