Yoast SEO
Variable replacement in Description not working (1 post)

  1. sigimmw
    Posted 3 years ago #

    WordPress version: 3.4.2
    WordPress SEO version:

    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic