Title: Meta property short code error
Last modified: June 9, 2025

---

# Meta property short code error

 *  Resolved [rizwanisbd](https://wordpress.org/support/users/rizwanisbd/)
 * (@rizwanisbd)
 * [1 year ago](https://wordpress.org/support/topic/meta-property-short-code-error/)
 * **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:
 *     ```wp-block-code
       <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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmeta-property-short-code-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year ago](https://wordpress.org/support/topic/meta-property-short-code-error/#post-18516315)
 * Hello [@rizwanisbd](https://wordpress.org/support/users/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 ](https://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.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [og:title](https://wordpress.org/support/topic-tag/ogtitle/)
 * [yoast error](https://wordpress.org/support/topic-tag/yoast-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/meta-property-short-code-error/#post-18516315)
 * Status: resolved