WordPress.org

Support

Support » Plugins and Hacks » Custom “tweet this” question

Custom “tweet this” question

  • I use this custom “tweet this” text link in various places on our blog:

    <a href="http://twitter.com/home?status=Reading%20interesting%20post%20from%20LifeLeap Institute%20at%20<?php echo fb_gettinyurl( get_permalink() ); ?>" target="_blank" rel="nofollow">Tweet This</a>

    I also have the le petite url plugin, which is a plugin that generates tiny urls from my own domain name. The plugin has a code snippet that can placed in a theme so the tiny url will be shown for each post.

    I was wondering if anyone had a suggestion as to how I could get “the_petite_url_link()” into my custom “tweet this” code so when a user sends a tweet, it will use our domain. It seems like these two features would work well together.

    Thanks for any suggestions.

  • The topic ‘Custom “tweet this” question’ is closed to new replies.