Digg This Wordpress plugin help!

Discussion in 'WordPress' started by MediaHustler, Mar 21, 2007.

  1. #1
    Hello I need help with this plug. I place it in the loop of my index and my post page and it doesn't show up! Has anyone had this same issue? And how did you fix it.

    Thank you in advance!
    -Doug
     
    MediaHustler, Mar 21, 2007 IP
  2. SmartMoney

    SmartMoney Peon

    Messages:
    197
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It only shows up once someone has Dugg one of your posts and someone visits your site from Digg.

    You don't really need that plugin anymore, Digg has released a simple code snippet that can do the same thing:

    <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
    Code (markup):
    plus it has the added benefit of allowing people to submit the story, which the Digg IT plugin doesn't do.
     
    SmartMoney, Mar 21, 2007 IP
    MediaHustler likes this.
  3. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #3
    And where do I place this? In the header, or the part where I would like the digg button to show?
     
    MediaHustler, Mar 21, 2007 IP
  4. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #4
    NVM, got it. Thanks smart money!
     
    MediaHustler, Mar 21, 2007 IP
  5. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #5
    Where can I put this code in my wordpress theme where it shows the page of the article it is in on the index rather than the index it'self?

    www.Technati.com
     
    MediaHustler, Mar 21, 2007 IP
  6. Monty

    Monty Peon

    Messages:
    1,363
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If there is a "single.php" file in your template, put your script in.

    if there is no template file for post, try something like this :
     
    Monty, Mar 21, 2007 IP
  7. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #7
    Ya, I did but nothing shows up. =(
     
    MediaHustler, Mar 21, 2007 IP
  8. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #8
    Got it to work!

    I put this

    <script type="text/javascript">
    digg_url = '<?php the_permalink() ?>';
    </script>
    <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
    Code (markup):
    Thanks for the help everyone!
     
    MediaHustler, Mar 21, 2007 IP
  9. SmartMoney

    SmartMoney Peon

    Messages:
    197
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Oh, sorry MH,

    I forgot the parameter bit. :)
     
    SmartMoney, Mar 21, 2007 IP