Support » Plugin: Yoast SEO » qtranslate x and yoast + linkedin

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Suwash Kunwar

    (@suascat_wp)

    @littlehoopoe, can you please provide a link to your site pages that have this sharing issue?

    http://solarnet.energy/ if I share it on linkedin i get this result [:en]title-of-en-page[:es]title-of-es-page[:de]title-of-de-page

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    The qTranslate X plugin on longer supported by the Yoast SEO. In this case, can you please deactivate the qTranslate X plugin and share the URL again to the LinkedIn to see if this resolves the issue.

    In addition, please refer to our this guide which shows exactly how to go about troubleshooting this issue.

    thanks for your advice, but it didn’t worked.

    I deactivate the Plugin and follow the guide, where I add the lines to my function.php but still the same Problem.

    Plugin Support amboutwe

    (@amboutwe)

    LinkedIn’s sharing is sometimes unpredictable and they cache for ~7 days with no way to request an update of the share data.

    We do know that they use OpenGraph which shares as expected on Facebook.

    We, also, reviewed your homepages source code and do not see any output that matches the [:en].

    Unfortunately, this means the issue cannot be fixed by changing something on your site. We recommend contacting LinkedIn for advice on why the title appears incorrectly.

    It’s because the oembed content is overriding the og tags. The problem is in the wordpress core function get_oembed_response_data in wp-includes/embed.php

    The function outputs the title using $post->post_title. This is a problem when the titles use special tags, like qTranslate does. The function should use apply_filters(‘the_title’,$post->post_title) instead. This fixes the problem.

    This function is not pluggable, so my understanding is that we can’t override it in our theme functions. And of course you can’t make changes to the wordpress core files, since all changes would be lost with the next update.

    • This reply was modified 1 year, 11 months ago by mheikkila.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘qtranslate x and yoast + linkedin’ is closed to new replies.