Digg button plugin
-
Hi do know a wordpress plugin that shows like this?
http://www.carlocab.com/wp-content/uploads/2007/04/lol2.bmp
I know the digg plugin by cybernet but it won’t wrap with my text.. Also I only want this on some of my posts not in all
-
Does anyone know?
There are several plugins that can do this sort of thing, but I stopped using them and just use Digg’s javascript code in my theme directly: http://www.digg.com/tools/integrate
Still, if you need a plugin:
http://tuggo.org/projects/diggit/
http://www.aviransplace.com/index.php/digg-this-wordpress-plugin/
http://bill2me.com/2007/03/26/bug-fix-for-digg-integrator/It all says that I have to put it inside the loop, but all I want is to put it ONLY in posts that I want.. how do I do that?
oh yea.. the digg’s button won’t work?:(
The digg’s button works fine. I use it on my own blog.
If you just want to put it in specific posts, then use the code you get from here: http://www.digg.com/tools/integrate
and just paste the script code into those posts. You still need to fill in the details though, like the URL and the title and such.it just won’t work… when I put it inside a post with my richtext turned off, it only shows how many diggs my site got not the post and it didn’t wrapped. I have inserted this code before the texts:
<script type="text/javascript"> digg_url = 'http://www.digg.com/tech_deals/How_to_make_Money_with_your_Blog_Part_II_from_a_13_year_old_kid'; </script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
it only shows how many diggs my site got not the post
You messed up the URL. The digg_url is not supposed to be the URL of the digg story. It’s supposed to be the URL of the actual post you want to display diggs for.
In your case, you want the digg_url to be this:
http://www.carlocab.com/2007/04/02/how-to-make-money-with-your-blog-part-ii/If you were to put this into the loop, you could use something like this:
<script> digg_url='<?php the_permalink(); ?>'; </script> ...
yes, but what if i don’t want it to be in the loop?
fore example, i just want it in this post: http://www.carlocab.com/2007/04/02/how-to-make-money-with-your-blog-part-ii/
not on the other post but only that, how is it possible?
I discuss an approach for doing this in this thread: http://wordpress.org/support/topic/98236?replies=8
carlocab123: You did it right the first time (for not wanting it in the loop), you just put in the wrong digg_url.
Just paste this into that post:
<script type="text/javascript"> digg_url = 'http://www.carlocab.com/2007/04/02/how-to-make-money-with-your-blog-part-ii/'; </script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
Simple.
@handy – can’t get it.. sorry i’m not that good at php..
@otto – I pasted it, here’s the exerpt:
<script type="text/javascript"> digg_url = 'http://www.carlocab.com/2007/04/02/how-to-make-money-with-your-blog-part-ii/'; </script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>Ok, Just a continuation on the “How to make Money with your Blog” post series.
BUT, when i’m in the homepage of my blog, i still have the same problem, the digg button links to this: http://digg.com/tech_deals/ProBlogging_with_carlocab_com
But when i’m on the single page, it links to this: http://digg.com/tech_deals/How_to_make_Money_with_your_Blog_Part_II_from_a_13_year_old_kidstill don’t get it….:(
I took a look, and you don’t appear to have the code on your page at all. Stop removing it so we can see what it’s actually doing.
My guess: You need to refresh your browser cache, because the way you keep saying it works is not how it actually works.
Is there a way we can get the tex to wrap around the digg button?
Is there a way we can get the tex to wrap around the digg button?
yes, but this is not the right thread for it
also i have a problem that relates to this thread i’ll start a new topic and edit here later with a link to it.
here’s that link…
http://wordpress.org/support/topic/139610
- The topic ‘Digg button plugin’ is closed to new replies.