# Current Year Shortcode — free WordPress plugin

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

Source: https://dcarock.com/freeware/current-year-shortcode

- Type: free WordPress plugin
- Price: free (GPL-2.0)
- Version: 1.1
- Download: https://dcarock.com/freeware/current-year-shortcode

## What it does

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

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.

## Frequently asked questions

### 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

- **1.1** (2026-03-15)
