How to add DIGG buttons to WordPress Blog post
Posted by Matt on 21st March 2007
The first time I tried to add DIGG buttons to my wordpress blog post I couldn’t figure out how to do it. I looked at DIGG and found the various image buttons but not how to link to the page. Of course I am fairly new to using DIGG on a regular basis, so this might be more evident for someone with more experience with DIGG. Here’s what I did:
(You’ll have to view the source of the page to see the proper code……. as I still have not found a good way to display code in wordpress).
For the button above I use the anchor url as http://digg.com/submit?phase=2&url=http%3A%2F%2Fwww.mattgregg.com%2FFileName.html … Note that the url= portion of this url is urlencoded where a / becomes %2F and colon becomes %3A.
The icon type shown below is a bit more difficult.
In the wordpress wysiwyg editor, </iframe> does not seem to get carried over (from the html edit box) after saving. So what I do is manually add </iframe> directly after this icon within the wysiwyg editor each time before resaving the blog post.
Posted in Internet, Web Development | No Comments »
















