Current Year Shortcode (for Post Titles)


The shortcode [wcyear] will display the current year. You can place this shortcode anywhere in your WordPress site.

IMPORTANT: If you want to place this shortcode in post and page titles, go the plugin settings to check “Enable Shortcode in titles”.

If you use Yoast SEO, you can enable the relevant setting for the shortcode to work with Yoast SEO plugin. For other SEO plugins, you should use their inbuilt dynamic tags to diplay the current year.

NOTE: It’s best to use the dynamic tags that come with SEO plugins for displaying current year in meta titles.


  1. Upload the plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin.
  3. Go the plugins settings page (Settings > Current Year Shortcode (for Post Titles)) and enable the required options.
  4. Place the shortcode anywhere (Title, Content, Footer) you want to display the year.


How do I use this plugin?

Add “[wcyear]” shortcode where you want to show the current year.

Why does the shortcode not work in titles?

Make sure you have enabled the relevant settings in the “Current Year Shortcode (for Post Titles)” settings page (It is under the Settings menu).

Why the shortcode does not work in meta title?

This could be because your meta title is being generated by a third-party SEO plugin like Yoast SEO, All-in-one SEO, or Rank math. This plugin has an option to enable shortcode in Yoast SEO. For other plugins, please check if they have any option in their settings page to enable shortcodes (All-in-one SEO does), or just use their in-built dynamic tags like %current_year% etc…

How to uninstall the plugin?

Simply deactivate and delete the plugin.


이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Current Year Shortcode (for Post Titles)”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.


자국어로 “Current Year Shortcode (for Post Titles)”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.



  • Plugin released.