Display Year with Shortcode

Display Year With Shortcode

This plugin provides a simple way to display the current year in your WordPress posts, pages, or widgets using the 2026 shortcode.  It uses gmdate() to ensure consistent year display regardless of the server’s timezone settings.

Simply insert 2026 into your post, page, or widget content.  The shortcode will be replaced with the current year.