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 21

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 →
WordPressPremium

Arock Wordpress + WooCommerce Toolkit

20 small WordPress and WooCommerce tools in one lightweight plugin. Switch each tool on or off from one page; only the tools you turn on run.

Buy →
WordPress

WooCommerce Direct Checkout

Skip the cart: "Add to cart" becomes "Checkout" and takes customers straight to checkout. Ideal for one-product stores and quick buys.

FreeDownload ↓
WordPress

WooCommerce Cross-Sell Popup

When a shopper adds a product to the cart, a popup offers that product's cross-sells with a quantity box and an "Add to order" button. Uses WooCommerce's own Cross-sells field.

FreeDownload ↓