• Resolved Luc

    (@lull)


    Hi, On a website since version 14 yoast, I have problem with custom post field syntax in title from hook in functions.php.
    The dynamic variable work on browser (firefox chrome…) but not in facebook (I don’t know on twitter…)
    the add function is : http://prntscr.com/s8r1nj
    and in title settings I have http://prntscr.com/s8r268
    on facebook share I’have this : http://prntscr.com/s8r6ur

    I’ve downgrade to 13.5 version and it’s ok now.
    Do you have a solution to debbuged this with 14 version ?

    thanks !

Viewing 13 replies - 1 through 13 (of 13 total)
  • yes facing that to…
    i have custom title on yoast but after apdate to v14 the custom title not show

    Same trouble for me, back to 13.5 and everything is back to normal

    Plugin Support devnihil

    (@devnihil)

    If you update to the most current version of Yoast SEO version 14.0.4, does this resolve the issue? You can learn more about updating here: https://kb.yoast.com/kb/how-can-i-update-my-free-plugin/

    Thread Starter Luc

    (@lull)

    Ok thanks Devnihil, I’ll test it later, but I don’t see anything about this specific bug in the description update 14.0.4… https://prnt.sc/scissf
    you ?

    • This reply was modified 4 years, 5 months ago by Luc.
    Thread Starter Luc

    (@lull)

    Anyone tested 14.0.4 with this bug?

    • This reply was modified 4 years, 5 months ago by Luc.
    Thread Starter Luc

    (@lull)

    @devnihil I just tested with 14.0.4 the problem is the same …

    • This reply was modified 4 years, 5 months ago by Luc.
    Plugin Support amboutwe

    (@amboutwe)

    I copied the code you provided and made a few minor adjustments since I don’t have a hidden custom field array with the name you’re using. The code worked in both 13.5 and 14.0.4 for the title output.

    <title>Test Code - forum &agrave; REPLACEMENT</title>

    However, the Open Graph tag is not updated in 14.0.4 version.
    <meta property="og:title" content="Test Variable - forum [%ville%]" />

    This is because the code is only applied to the title after Yoast SEO creates the title and Open Graph tags. You can apply the same function to the wpseo_opengraph_title action. Additionally, you may want to apply the same function to the wpseo_twitter_title action to cover all three title outputs.

    Alternatively, Yoast SEO has a different action that allows you to create your own template variables. This action is applied during the title creation and to all three title outputs. If you’d like to try that out, here is an example code snippet to use as a starting point.

    • This reply was modified 4 years, 5 months ago by amboutwe.
    • This reply was modified 4 years, 5 months ago by amboutwe.
    Thread Starter Luc

    (@lull)

    @amboutwe hi, thank you for your answer, this change would not be made in the next Yoast?

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    We can confirm the relevant code works on both Yoast SEO v 13.5 and 14.* series.

    Thread Starter Luc

    (@lull)

    @mazedulislamkhan I just updated version 14.1 and the problem is the same, I downgrade a new time… Do you have a solution for me in next update ?

    Hi @lull

    We change some code in v14.x.x versions of the plugin. The changes we made likely impact the title used on Facebook. To resolve the issue you will need to do one of two things

    1. Modify your existing code
    You will need to apply the same function to the wpseo_opengraph_title action. Additionally, you may want to apply the same function to the wpseo_twitter_title action to cover all three title outputs.

    2.Use Our Existing Code Snippet
    Yoast SEO has a different action that allows you to create your own template variables. This action is applied during the title creation and to all three title outputs. If you’d like to try that out, here is an example code snippet to use as a starting point.

    Unfortunately, there’s a difference between the support we can offer and the level of programming needed to change (core) features of our plugin. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. And even though we cannot be of any assistance, you’re completely free to change anything in the plugin to better suit your needs.

    We highly recommend checking out our list of Yoast Partners here https://yoast.com/yoast-partners/ in case you are in need of development.

    We will also keep this issue open for 2 weeks in case someone from the community can help. Perhaps a developer watching these forums can assist further. After which, we will close in order to keep the overview.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

    Thread Starter Luc

    (@lull)

    Scuses me for no answers, and thanks to @pcosta88 for technical recommandation. I’ll make it as soon as possible

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Problem with custom meta title since version 14 yoast’ is closed to new replies.