• Resolved rizwanisbd

    (@rizwanisbd)


    Hello Yoast Support,

    I manage a website with over 1500 pages where each page includes a dynamic %%semester%% variable that needs to update every six months. I’ve registered this variable using wpseo_register_extra_replacements and it works perfectly in the Yoast SEO title and meta description fields — the %%semester%% tag is successfully parsed and rendered as expected.

    However, I’ve noticed a problem with the og:title tag. Instead of rendering the parsed value of %%semester%%, the Open Graph title is pulling the raw post title (which may still include the shortcode or placeholder), before Yoast has a chance to replace it.

    This means the og:title output looks like:

    <meta property="og:title" content="AIOU Assignments Free %%semester%% AIOU Studio 9">
    

    Even though the SEO title is rendered correctly.

    Could you please explain why the og:title is being pulled from the post title directly instead of using the processed SEO title (with variables rendered)? And is there a way to make og:title respect the same dynamic replacements?

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @rizwanisbd

    Thanks for reaching out but your question goes beyond the technical expertise of the Yoast support team. Therefore, we can’t give you a solid answer to your question.

    But we don’t want to leave you empty-handed. Our developer portal at developer.yoast.com has proven helpful to many developers in the past and hopefully will serve you well too.

    Sorry, we can’t be of more help here.

Viewing 1 replies (of 1 total)

The topic ‘Meta property short code error’ is closed to new replies.