Social Bookmarking with WordPress Plugin Part IV: Adding a Digg button using JavaScript code
Our Digg link works fine for submitting the content, but isn’t very pretty, and does not show the number of Diggs we received. That is why we need to use a standard Digg button. This is accomplished by using a simple piece of JavaScript code provided by Digg, and passing it the necessary information. Time for Action – Implement a Digg button Let us implement a Digg button, using...
Read MoreSocial Bookmarking with WordPress Plugin Part III: WordPress plugin hooks
Our plugin now works fine, but there is a problem. In order to use it, we also have to edit the theme. This can be a real pain for all sorts of reasons: If you want to change to a different theme, the plugin will stop working until you edit the new theme. If you want to distribute your plugin to other people, they can’t just install it and activate it; they have to change their theme files...
Read MoreSocial Bookmarking with WordPress Plugin Part II: Displaying a Digg button
Now it’s time to expand our plugin with concrete functionality and add a Digg link to every post on our blog. In order to create a link we will need to extract post’s permalink URL, title, and description. Luckily, WordPress provides us with a variety of ways to do this. Time for Action – Implement a Digg link Let’s create a function to display a Digg submit link using...
Read MoreSocial Bookmarking with WordPress Plugin Part I: Plugging in your first plugin
The publisher of the WordPress Plugin Development book has kindly gave us the permission to publish an article from the book on creating a social bookmarking plugin with WordPress. We’ve divided the article into a 5 part series to complete within the next five days. We are giving out the book as our monthly giveaway prizes. For details on how to participate, check it out here. In this...
Read MoreWordPress Plugin Development Beginner’s Guide Giveaway
Our previous Twitter Giveaway was a desirable success. Now, we are giving away the WordPress Plugin Development (Beginner’s Guide) book as we promised. And even better, we are giving away 6 books this time! Here’s how to enter: 1) Follow WPWebHost on Twitter. 2) Tweet this: “WPWebHost is giving away 6 copies of WordPress Plugin Development Guide. Just follow @wpwebhost and retweet....
Read More





