Title: Variable replacement in Description not working
Last modified: August 20, 2016

---

# Variable replacement in Description not working

 *  [sigimmw](https://wordpress.org/support/users/sigimmw/)
 * (@sigimmw)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/variable-replacement-in-description-not-working/)
 * **WordPress version:** 3.4.2
    **WordPress SEO version:** 1.2.8.7
 * **I did this: **
    I’ve put in the Description field of a post the variable %%
   currentyear%%
 * **I expected the plugin to do this: **
    By default, the plugin should replace
   the %%currentyear%% with the current year, in our case 2012.
 * **Instead it did this:**
    If I look at the sourcecode of the page, the variable
   is shown in the description and not a replaces value.
 * The replacement works for titles, but not for descriptions.
 * Any idea which way to go, so that the %%currentyear%% is also replaced in the
   descriptions?
 * [http://wordpress.org/extend/plugins/wordpress-seo/](http://wordpress.org/extend/plugins/wordpress-seo/)

The topic ‘Variable replacement in Description not working’ 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

 * [currentyear](https://wordpress.org/support/topic-tag/currentyear/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 0 replies
 * 1 participant
 * Last reply from: [sigimmw](https://wordpress.org/support/users/sigimmw/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/variable-replacement-in-description-not-working/)
 * Status: not resolved