Support » Plugin: Simple Social - Sharing Widgets & Icons » [Plugin: Simple Social – Sharing Widgets & Icons] Text for Tweet should not be url encoded
6 years, 5 months 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.
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) )
$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.