WordPress pluginShortcodeFree

Current Year Shortcode

Type [year] anywhere in WordPress and it shows the current year — footers that never go out of date.

Version 1.1Updated Mar 2026Downloads 17

What it does 01

Place [year] anywhere in WordPress and it outputs the current year. That's the whole plugin — three lines of code: add_shortcode( 'year', function() { return date( 'Y' ); } );

  • One shortcode: [year].
  • Perfect for copyright lines like © [year] Your Company.
  • Tiny — a 663-byte download with no settings.

Setup 02 · about 1 minute

  1. Install it. In WordPress go to Plugins → Add New → Upload Plugin, choose the .zip you downloaded and click Install Now.
  2. Activate it from the same screen (or later from Plugins). No settings page to configure.
  3. Add the shortcode. Type [year] in a page, post, widget or footer — anywhere shortcodes work.

FAQ 03

What does it output?

The current four-digit year, e.g. 2026.

Do I have to update anything in January?

No — it always prints the current year, so your footer stays right on its own.

Is it really free?

Yes — GPL-2.0, free forever, no upsells inside the plugin.

Changelog 04

1.1Mar 15, 2026 · Latest
Need it to do something else?

I customize plugins and build new ones from scratch — same care, made for your site.

Ask me

Comments

Every comment is reviewed before it appears.

No comments yet — questions, ideas and bug reports are all welcome.

Leave a comment

Replying to
Comments are moderated and appear once approved. Your email is only used to notify you of replies.
Thanks! Your comment is awaiting moderation and will appear once it's approved.
Scripts & plugins

More plugins.

All scripts & plugins →
WordPress

Wordpress Simple Popups

Create popups with your own editor or a single image, and choose exactly where, when and how often they appear.

FreeDownload ↓
WordPress

WPForms Email List Extractor

Export every email from your WPForms entries, even forms with two email fields, to CSV, TXT, JSON or HTML. Filter by form and date.

FreeDownload ↓
WordPress

WooCommerce Product Count Shortcode

Show your total WooCommerce product count anywhere with one shortcode. Filter by category, and leave out hidden products if you like.

FreeDownload ↓