WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Sociable] TwitThis / Twitter Corrected URL (3 posts)

  1. dhvrm
    Member
    Posted 5 years ago #

    The TwitThis / Twitter URL in sociable.php does not completely fill out the TwitThis form. To do so, follow the instructions below:

    //find this code block somewhere around line 480:
    
    	'TwitThis' => Array(
    		'favicon' => 'twitter.png',
    		'url' => 'http://twitthis.com/twit?url=PERMALINK',
    	),
    
    // replace block above with this one
    
    	'TwitThis' => array(
    		'favicon' => 'twitter.png',
    		'url' => 'http://twitthis.com/twit?url=PERMALINK&title=TITLE',
    		'description' => 'Twitter / Twit This'
    	),
  2. Joost de Valk
    Member
    Posted 5 years ago #

    Replaced TwitThis in 2.9.3 for direct Twitter functionality.

  3. johnnyh
    Member
    Posted 5 years ago #

    One issue I have with this fix that is still current as of 3.0.4 is that the title is not being passed to the twitter form. Is it possible to change this? With TwitThis the form has a I nicer UI with a select menu of an action next to the title of the article and then the URL for the article.

    With the direct Twitter functionality it's just a text field with the URL.

    Thanks,

    -johnny;j

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags