开发者 | kgmservizi |
---|---|
更新时间 | 2024年11月13日 20:20 |
捐献地址: | 去捐款 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Read how WordPress shortcode work: WordPress Codex
[y] display current year 2020 [m] display current month October [d] display current day 25 [dmy] display current date 01/01/2023 [c] display copyright symbol © [t] display registered trademark symbol ® [tm] display unregistered trademark symbol ™ [sm] display service mark symbol ℠ [cc] display Copyright [cy] display symbol of copyright and current year ©2019 [cyy year="2003"] display symbol of copyright, first year, current year ©2003-2019 [cyyl year="2003"] display copyright, first year, current year Copyright 2003-2019 [cyyls year="2003"] display copyright (+©), first year, current year ©Copyright 2003-2019 [show_user_ip] display ip of current user Full list here: Documentation
[c] display copyright symbol © [t] display registered trademark symbol ® [tm] display unregistered trademark symbol ™ [sm] display service mark symbol ℠ Symbols shortcode retrieve the most common "registration" symbols. For more symbols shortcode write a support ticket!
[show_user_ip] display ip of current user With IP shortcode you can retrieve your user IP.
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 [cyy year="03" format="y"] ©03-19 [cyy year="2003" format="Y"] ©2003-2019
For shortcode with month you can choose format with attribute format="". It support "F" - "m" - "M" - "n".
For shortcode with day you can choose format with attribute format="". It support "D" - "d" - "j" - "N"
For day shortcode [d] you can add offset with attribute offset="". It support + or -. For month shortcode [m] you can add offset with attribute offset="". It support + or -. For year shortcode [y] you can add offset with attribute offset="". It support + or -. For current date shortcode [dmy] you can add offset with attribute offset="". It support + or - in standard php date format, for ex. + 1 year or - 1 day. Example [d offset="+1"] 2023 [m offset="+1"] 2 (if current month is January) [y offset="+1"] 2 (if current day is 1) [dmy offset="+ 1 year"] 01/01/2023