All WordPress Plugins Shortcode

Current Year Shortcode

Displays the current year using the [year] shortcode.

Version 1.1 / WP Any / Updated Mar 2026
Download v1.1

Displays the current year using the [year] shortcode.

Anywhere in your wordpress, call the current year by placing [year]

What it does

Simply adds 3 lines of code to your wordpress:
add_shortcode( 'year', function() {
    return date( 'Y' );
});

Installation

Simply install the .zip and activate.

Changelog

1.1 March 15, 2026

Get Current Year Shortcode

v1.1 · 663 B · GPL-2.0 · tested to WP Any
Download plugin

Downloads: 0

Comments

Leave a comment

Your email won't be published. Required fields are marked.