Simple Social - Sharing Widgets & Icons
Text for Tweet should not be url encoded (3 posts)

  1. O Ofutur
    Posted 4 years ago #

    With the current version of the plugin, the tweet will look like this:

    To fix this, a special title has to be generated for Twitter sharing, unless there is a way of telling Twitter what to do with the url encoded title.


  2. tracysbooknook
    Posted 4 years ago #

  3. tracysbooknook
    Posted 4 years ago #

    I think I've solved the problem. There is a code error in Simple Social. Here's how you fix it.

    1. Go to your plug-in editor and load the following file:


    2. Then go to line 12 and change the following statement from this:

    $simplesocial_title = urlencode(get_the_title($post->ID) )

    to this:

    $simplesocial_title = urldecode(get_the_title($post->ID) )

    3. Update the file and you're done

    *Note Thanks to Google I found out that the command urlENcode replaces spaces, quotes, etc., with +'s and %xx's. The command you need to get rid of that stuff is urlDEcode.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Social - Sharing Widgets & Icons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic