WordPress.org

Ready to get started?Download WordPress

Forums

Custom "tweet this" question (1 post)

  1. dsellers
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic