Hi I have a problem with twitter share button. When I click to share button on post (any post) its convert to html codes. its convert quote symbol to this ’
How can I change it ?
To resolve this issue, you open the functions.php file in the folder path “yourdomain/themes/dw-focus/functions.php” Find the line 437
replace the following code:
$title = rawurlencode( get_the_title() );
With new code:
$title = urlencode(html_entity_decode(get_the_title(), ENT_COMPAT, ‘UTF-8’));
Hope this helps !
Please login or Register to submit your answer