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]
With format:
[y format="y"]
[y format="Y"]
With offset + or - also in combination with format:
[y offset="+5"]
[y offset="+5"]
[y format="y" offset="-5"]
Month
[m]
With month format:
[m format="F"]
[m format="m"]
[m format="M"]
[m format="n"]
With offset + or - also in combination with format:
[m offset="+5"]
[m format="F" offset="+5"]
[m format="m" offset="-5"]
[m format="M" offset="+5"]
[m format="n" offset="-5"]
Day
[d]
With day format:
[d format="d"]
[d format="D"]
[d format="j"]
[d format="N"]
[d format="S"]
[d format="w"]
[d format="z"]
[d format="t"]
With offset + or - also in combination with format:
[d offset="+5"]
[d format="d" offset="+5"]
[d format="D" offset="-5"]
[d format="j" offset="+5"]
[d format="N" offset="-5"]
[d format="S" offset="+5"]
[d format="w" offset="-5"]
[d format="z" offset="+5"]
[d format="t" offset="-5"]
Current Date
Current date with custom format and offset.
[dmy]
With offset:
[dmy offset="+1year"]
[dmy offset="+1day"]
[dmy format="d F Y"]
[dmy offset="+1year" format="d F Y"]
©2023 - copyright symbol and current year
[cy]
With year format:
[cy format="y"]
[cy format="Y"]
©2003-2023 - copyright symbol with first copyright year - current year
[cyy year="2003" format="Y"]
[cyy year="03" format="y"]
Copyright 2003-2023 - copyright text with first copyright year - current year
[cyyl year="2003" format="Y"]
[cyyl year="03" format="y"]
©Copyright 2003-2023 - copyright symbol + text with first copyright year - current year
[cyyls year="2003" format="Y"]
[cyyls year="03" format="y"]
© symbol
[c]
Copyright text
[cc]
® symbol
[t]
™ symbol
[tm]
℠ symbol
[sm]
User IP
[show_user_ip]
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-23 ©03-19
©2003-2023 ©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 08 you can add offset with attribute offset="". It support + or -.
For month shortcode Dicembre you can add offset with attribute offset="". It support + or -.
For year shortcode 2023 you can add offset with attribute offset="". It support + or -.
For current date shortcode 08/12/2023 you can add offset with attribute offset="". It support + or - in standard php date format, for ex. + 1 year or - 1 day.
Example
09 2023
Gennaio 2 (if current month is January)
2024 2 (if current day is 1)
08/12/2024 01/01/2023
Potete scaricare il plugin direttamente dalla directory di WordPress.