Support » Plugin: OSD Social Media Sharing » Special characters in post title not rendering

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author osdwebdev


    Sorry for the long delay in answering Vistawide,

    I’m not sure I understand what the problem is. Could you explain what your desired behavior would be?

    It is the filter wptexturize that is supposed to make a text more beautiful, but often causes problems, especially with foreign languages. I had the same problem with french language and I removed the filter.

    Add this in your functions.php:

    //TEXTURIZE (remove)
    remove_filter('the_title', 'wptexturize');
    remove_filter('the_content', 'wptexturize');
    remove_filter('the_excerpt', 'wptexturize');
    remove_filter('comment_text', 'wptexturize');
    • This reply was modified 5 years, 6 months ago by Georgio.
    Plugin Author osdwebdev



    Thank you for your response. Yes, wptexturize can definitely mess things up.


    The solution Georgio provided should work. Just be aware that this will remove wptexturize from your whole site. This may or may not be an issue.

    @georgio-1 Removing wptexturize worked like a charm, I only removed it from the title and it was enough to stop sharing from not working properly, so altogether not too bad of a compromise to make.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Special characters in post title not rendering’ is closed to new replies.