Social Bookmarking with WordPress Plugin Part IV: Adding a Digg button using JavaScript code

Tweet 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 information from the Digg API. We will use the newly created button on single posts, and keep the simple Digg link for all the other pages.Create...

Read More

Social Bookmarking with WordPress Plugin Part III: WordPress plugin hooks

Tweet 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 too. If you change the function name, you need to alter the theme files again.We need some way to make the plugin work on its own,...

Read More

Social Bookmarking with WordPress Plugin Part II: Displaying a Digg button

Tweet 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 linkLet’s create a function to display a Digg submit link using information from the post.Add a function to our plugin to display a Digglink: /* Show a Digg This link */ function WPDiggThis_Link() { global...

Read More

Social Bookmarking with WordPress Plugin Part I: Plugging in your first plugin

Tweet 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 article by Vladimir Prelovac, we will learn to create our first functional WordPress plugin and learn how to interact with the WordPress API...

Read More

Web Design For Beginners

Tweet Quisque eleifend, arcu a dictum v1arius, risus neque venenatis arcu, a semper massa. Quisque eleifend, arcu a dictum v1arius, risus neque venenatis arcu, a semper massa. Quisque eleifend, arcu a dictum v1arius, risus neque venenatis arcu, a semper massa. Quisque eleifend, arcu a dictum v1arius, risus neque venenatis arcu.This would be point 1 And maybe point two here Most importantly, point threeAliquam id lorem a orci consequat sodales. Nunc magna ante, suscipit eget, lobortis ut, sollicitudin sed, eros. Nam eget augue.

Read More
Feedback Form
Customer Feedback