• Resolved cantoute

    (@cantoute)


    Hi,

    Juste noticed that when activating fb/twitter social share meta in html head it would urlencode html tags in the post title.

    This doesn’t end up well when title has a 1<sup>st</sub> in it ??

    I would be preferable to run a strip_tags() of the post title.

    In the mean time the fix was to disable adding meta tags in this plugin.

    Have a nice day.

    • This topic was modified 2 years, 3 months ago by cantoute.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Blog2Social-Support

    (@blog2socialsupport)

    Hello,

    Thanks for reaching out.

    Please be so kind as to send me a screenshot of how your post is displayed on Faceboook/Twitter as well as the link of your post so I can take a closer look at this.

    I’m looking forward to your reply.

    Thread Starter cantoute

    (@cantoute)

    I have no screen shots as fixed the issue by disabling social network meta.

    Example title of 2<sup>nd</sup>

    This is the ending result when usin wp-typography fir example

    Thread Starter cantoute

    (@cantoute)

    Lucky… found a screenshot

    https://pasteboard.co/JJFBZehfpL01.png

    Plugin Support Blog2Social-Support

    (@blog2socialsupport)

    Hello,

    Thanks for your reply.

    May I ask you if you have tried ticking the box “allow shortcodes in my post” in your Blog2Social settings?
    Please be so kind as to try this and let me know if this solves your request.

    If you are still facing issues, please send me the link to your post so I can check this for you.

    Thread Starter cantoute

    (@cantoute)

    I son’t see what allowing shortcode has to do with this.

    I think you just need to wp_strip_all_tags() on the values you set for og:title and twitter:title meta values. Perhaps something like $title = wp_strip_all_tags(get_the_title())

    As with your plugin we could disable it from adding those meta in header, this is how we fixed it.

    • This reply was modified 2 years, 2 months ago by cantoute.
    Plugin Support Blog2Social-Support

    (@blog2socialsupport)

    Hello,

    Thanks for your feedback.

    I will gladly add your suggestions to support html-tags within the metadata title to our feature list for future developments. As soon as this is possible we will let you know.

    Please let me know if you have any other questions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Social share meta data title’ is closed to new replies.