plugin-icon

Current Year, Symbols and IP Shortcode

لصاحبه kgmservizi·
Useful shortcode for WordPress. Current year, copyright, symbols and user IP with shortcode.
تقييمات
5
النسخة
2.5
التنصيبات النشطة
10K
آخر تحديث
Apr 12, 2026
Current Year, Symbols and IP Shortcode

Don’t work? Open ticket, we answer in max 48h.

How shortcode work: WordPress Codex

Full documentation and shortcode list: Documentation

Current year, copyright, symbols and user IP with shortcode.

[y] display current year 2026 [m] display current month April [d] display current day 12 [dmy] display current date 12/04/2026 [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 © 2026 [cyy year=”2003″] display symbol of copyright, first year, current year © 2003-2026 [cyyl year=”2003″] display copyright, first year, current year Copyright 2003-2026 [cyyls year=”2003″] display copyright (+©), first year, current year © Copyright 2003-2026 [show_user_ip] display ip of current user

Useful attribute for extend shortcode functionality

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

Example [cyy year=”03″ format=”y”] © 03-26 [cyy year=”2003″ format=”Y”] © 2003-2026

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 [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″] 13 (if current day is 12) [m offset=”+1″] May (if current month is April) [y offset=”+1″] 2027 (if current year is 2026) [dmy offset=”+1 year”] 12/04/2027

مجانيعلى الخطط المدفوعة
إذا أتممت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم ووشروط إضافات الأطراف الثالثة.
تم اختباره حتى
WordPress 6.8.5
تتوفّر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت لديك.