Help with Twitter Button on My Blogger Blog

5 replies
  • WEB DESIGN
  • |
Can anyone help me with this? I added a "tweet" button on my blog at The Marketing Blog | Internet Marketing Expert. The problem is that when it is clicked and people "retweet" it is only giving the title of the blog and not the title of the post.

I found some directions on the web on how to change but every time I implement in the HTML template and save, it gets over written with an &39... very odd.

Any thoughts on proper code so that post title gets retweeted? Thanks Warriors!
#blog #blogger #button #twitter
  • Profile picture of the author kendrickyi
    Hmm? Could you paste part of the code here please?
    In the meantime, I'll try it out on my own blog.
    {{ DiscussionBoard.errors[1095772].message }}
    • Profile picture of the author mfleisch
      Thanks guys... here's the code at my blog http://marketing-expert.blogspot.com Let me know if you have any ideas...
      <div class='post'>
      <div class='title'>
      <h1><a expr:href='data:post.url'><data:post.title/></a></h1>
      <p class='date'><data:post.timestamp/></p>
      </div>
      <div class='tweets'>
      <script type='text/javascript'>tweetmeme_url = <data:post.url/>

      </script>
      <script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>
      {{ DiscussionBoard.errors[1096947].message }}
  • Profile picture of the author Sunlust
    where are you trying to paste the code?

    Did you try to google your problem, can you post URL of your blog?
    {{ DiscussionBoard.errors[1096319].message }}
  • Profile picture of the author danielmcclure
    EDIT: Appologies, just noticed you mentioned a Blooger blog, in that case I'm not sure. I'll try look into it...

    FULL DISCLOSURE:
    Yes I do sell retweet buttons through the site I'm about to link however the post is entirely relevant to this question.

    Originally Posted by http://ReTweetGraphics.com


    How to Create ReTweet Links on WordPress


    On this page you will find all the information you need for adding your new ReTweet This graphics to your WordPress blog. There are various methods available to you with differing outputs. Please note even if you are on a WordPress blog you may wish to create a custom tweet this link for a sales page or similar. Otherwise read on...

    Single Space Code


    This is the code that you will use if you want to add a link on a case by case basis. Just copy and paste the code into the desired page. Note: You can also use this method to add a dynamic "Currently Reading" link to your theme as seen in our sidebar.
    Code:
    <a title="ReTweet This Page - Your Followers Will Thank You!" href="http://twitter.com/home?status=<?php wp_title(); ?> - <?php the_permalink(''); ?>" target="_blank">
    <img src="ENTER URL OF YOUR 'RETWEET THIS' GRAPHIC" alt="ReTweet This Page - Your Followers Will Thank You!" />
    </a>
    Automatically Add to Posts


    This code will automatically add a 'ReTweet This' graphic to every post that you make. Using this method requires some knowledge of editing theme files within WordPress as you will need to insert the following code within the loop, just below the post.

    Code:
    <div style="margin: 0 auto; text-align: center;"><a href="http://twitter.com/home?status=<?php wp_title(); ?> - <?php the_permalink(''); ?>" title="ReTweet This Page - Your Followers Will Thank You!"target="_blank">
    <img src="ENTER URL OF YOUR 'RETWEET THIS' GRAPHIC" alt="ReTweet This Page - Your Followers Will Thank You!" />
    </a></div>
    Good Luck!
    Source: ReTweet Graphics Puts the Power of Social Media Marketing In Your Hands
    {{ DiscussionBoard.errors[1103383].message }}
    • Profile picture of the author mfleisch
      Yes... blogger blog. thanks for your help!

      michael
      {{ DiscussionBoard.errors[1103525].message }}

Trending Topics