hello world!
23 Febbraio 2018

Current Year and Symbols Shortcode

How shortcode work -> WordPress CODEX (documentation)

Pay attention

Shortcode don't work in all WordPress position!
For any problem write a comment here or in WordPress directory support forum.

Year

[y]
2026

With format:

[y format="y"]
26
[y format="Y"]
2026

With offset + or - also in combination with format:

[y offset="+5"]
2031
[y offset="+5"]
2031
[y format="y" offset="-5"]
21

Month

[m]
Febbraio

With month format:

[m format="F"]
Febbraio
[m format="m"]
02
[m format="M"]
Feb
[m format="n"]
2

With offset + or - also in combination with format:

[m offset="+5"]
Luglio
[m format="F" offset="+5"]
Luglio
[m format="m" offset="-5"]
09
[m format="M" offset="+5"]
Lug
[m format="n" offset="-5"]
9

Day

[d]
28

With day format:

[d format="d"]
28
[d format="D"]
Sab
[d format="j"]
28
[d format="N"]
6
[d format="S"]
th
[d format="w"]
6
[d format="z"]
58
[d format="t"]
28

With offset + or - also in combination with format:

[d offset="+5"]
05
[d format="d" offset="+5"]
05
[d format="D" offset="-5"]
Lun
[d format="j" offset="+5"]
5
[d format="N" offset="-5"]
1
[d format="S" offset="+5"]
th
[d format="w" offset="-5"]
1
[d format="z" offset="+5"]
63
[d format="t" offset="-5"]
28

Current Date

Current date with custom format and offset.

[dmy]
28/02/2026

With offset:

[dmy offset="+1year"]
28/02/2027
[dmy offset="+1day"]
01/03/2026
[dmy format="d F Y"]
28 Febbraio 2026
[dmy offset="+1year" format="d F Y"]
28 Febbraio 2027

©2026 - copyright symbol and current year

[cy]
©2026

With year format:

[cy format="y"]
©26
[cy format="Y"]
©2026

©2003-2026 - copyright symbol with first copyright year - current year

[cyy year="2003" format="Y"]
©2003-2026
[cyy year="03" format="y"]
©03-26

Copyright 2003-2026 - copyright text with first copyright year - current year

[cyyl year="2003" format="Y"]
Copyright 2003-2026
[cyyl year="03" format="y"]
Copyright 03-26

©Copyright 2003-2026 - copyright symbol + text with first copyright year - current year

[cyyls year="2003" format="Y"]
Copyright 03-26
[cyyls year="03" format="y"]
Copyright 03-26

© symbol

[c]
©

Copyright text

[cc]
Copyright

® symbol

[t]
®

™ symbol

[tm]

℠ symbol

[sm]

User IP

[show_user_ip]
216.73.216.171

Format Attribute for Year
For shortcode with year you can choose format with attribute format="". It support "Y" (es.2019) or "y" (es.19). Default format without attribute is "Y".
You must enter year attribute in the same format.

Example
©03-26 ©03-19
©2003-2026 ©2003-2019

Format Attribute for Month
For shortcode with month you can choose format with attribute format="". It support "F" - "m" - "M" - "n".

Format Attribute for Day
For shortcode with day you can choose format with attribute format="". It support "D" - "d" - "j" - "N"

Format Attribute for current date
All php date function attributes.

Offset Attribute
For day shortcode 28 you can add offset with attribute offset="". It support + or -.
For month shortcode Febbraio you can add offset with attribute offset="". It support + or -.
For year shortcode 2026 you can add offset with attribute offset="". It support + or -.
For current date shortcode 28/02/2026 you can add offset with attribute offset="". It support + or - in standard php date format, for ex. +1year or -1day.

Potete scaricare il plugin direttamente dalla directory di WordPress.