StumbleUpon widget on my Wordpress Blog - For EACH Post NOT the Website

Discussion in 'WordPress' started by razz.jazz, Jan 14, 2011.

  1. #1
    So when I use the StumbleUpon code from their site to put a plugin on, it has a number (say 500) and is pretty consistent which tells me that its for the entire site.

    Well, I want it to be for each post.

    How can I put the code in so that each post (that has the StumbleUpon badge) which reflect each post and not for the entire site?
     
    razz.jazz, Jan 14, 2011 IP
  2. Yuuko008

    Yuuko008 Member

    Messages:
    682
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    33
    #2
    Well you can install plugins like add-to-any which add buttons on every page where you can share the post with different sites like FB, SU, Digg, technorati and more.
     
    Yuuko008, Jan 16, 2011 IP
  3. Shah network

    Shah network Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have a solution of youe problem.

    You need to get badge from original stumbleupon website.
     
    Shah network, Jan 16, 2011 IP
  4. razz.jazz

    razz.jazz Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well, I would like it to be just a badge from StumbleUpon without "add to: e-mail, digg, reggit, socialnetwork#28, myspace, fb, buzz, yahoo buzz, msn buzz, any other buzz, technorati, stumble upon, etc."
    I have a retweet, Facebook plugins and now just want to add StumbleUpon.

    However, when I add their badge to my php code, the number of users reflect visiting the site!

    But I want people to submit for EACH post. Not sure if that makes sense or if its possible to do?
     
    razz.jazz, Jan 16, 2011 IP
  5. razz.jazz

    razz.jazz Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Do I need a plugin for this?
     
    razz.jazz, Jan 18, 2011 IP
  6. steelfrog

    steelfrog Peon

    Messages:
    537
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No, you don't need a plugin. Try something like this:

    
    <a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php echo urlencode(get_the_title($id)); ?>" title="StumbleUpon">LINK TITLE</a>
    
    PHP:
    That should generate a basic link using the page's permalink. You'll need to replace the "LINK TITLE" section to either an image or whatever text you require, though.
     
    steelfrog, Jan 18, 2011 IP
  7. razz.jazz

    razz.jazz Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    UPDATE: So here is the problem
    See image.

    [​IMG]

    So I have on line #1 widgets/plugins for Wordpress from Facebook Share and Tweetmeme. In line #2, I have a button code from Share This. The button code includes stumble, e-mail.

    So in line #1, it is correctly displaying the amount of times that specific blog post has been shared via Facebook and Twitter. In line #2, it is incorrectly displaying the entire website's shares.

    What I want it to do is to display the post's shares. Can someone help?

     
    Last edited: Jan 18, 2011
    razz.jazz, Jan 18, 2011 IP
  8. steelfrog

    steelfrog Peon

    Messages:
    537
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Could you please post the code snippets you're using to generate these? It's a hard to debug without seeing the source.
     
    steelfrog, Jan 19, 2011 IP
  9. razz.jazz

    razz.jazz Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    This is the code I am using on my index.php (maybe I need it on single.php but how would it show on my main index?)
    <span class="st_twitter_vcount" displayText="Tweet"></span><span class="st_facebook_vcount" displayText="Share"></span><span class="st_email_vcount" displayText="Email"></span><span class="st_stumbleupon_vcount" displayText="Stumble"></span>
    Code (markup):
    This is in my header.php, I put it between <head></head>
    <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'xxxxxxxxxxxxxx'});</script>
    Code (markup):
     
    razz.jazz, Jan 19, 2011 IP
  10. rakesh kumar

    rakesh kumar Active Member

    Messages:
    393
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #10
    you need share and follow plugin for wordpress.
     
    rakesh kumar, Jan 19, 2011 IP
  11. razz.jazz

    razz.jazz Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I don't understand, can you explain or point me to these plugins and how they will help? I am already using 2 plugins = Facebook Share and Tweetmeme. But I want to add an e-mail and Stumble buttons.

    How will share and follow plugin help me?

     
    razz.jazz, Jan 19, 2011 IP
  12. razz.jazz

    razz.jazz Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I should say, I mean like the Mashable share buttons. See how they're unique to just each post?
     
    razz.jazz, Jan 19, 2011 IP