Current Year and Symbols Shortcode

Descrizione

IF NOT WORK, OPEN TICKET.

Get current year, copyright and trademark symbol with shortcode.

[y] display current year 2019
[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

Format Attribute
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

Offset Attribute
For year shortcode [y] you can add offset with attribute offset=””. It support + or -.

Example
[y offset=”+41″] 2060

Screenshot (schermate di esempio)

  • Example.

Installazione

  1. Upload the plugin files to the ‘/wp-content/plugins/’ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Add shortcode.

FAQ

What is the shortcode?

[y] display current year 2019
[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

How work year format attribute?

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

How work year [y] offset attribute?

For year shortcode [y] you can add offset with attribute offset=””. It support + or -.

Example
[y offset=”+41″] 2060

Recensioni

Leggi tutte le recensioni di 2

Contributi e sviluppo

“Current Year and Symbols Shortcode” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “Current Year and Symbols Shortcode” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

1.7.1

  • Version compatibility update.

1.7

  • Bugfix and new shortcode for retrieve IP.

1.6

  • New name and compatibility update.

1.5

  • Bugfix and offset for [y] shortcode.

1.4

  • Added ™ and ℠ symbol.

1.3

  • Compatibility revision.

1.2

  • Compatibility revision.

1.1

  • Bugfix.

1

  • Now you can format year with format=”” attribute. You can choose “y” or “Y”. More info in description.

0.4

  • Now with [cyy] if current year is = attribute year, first year isn’t displayed. New shortcode [cyyl] for show “Copyright year-year”. New shortcode [cyyls] for show “©Copyright year-year”.

0.3.1

  • Bugfix

0.3

  • Added [cc] shortcode “Copyright”.

0.2

  • Added more shortcode (copyright, trademark, copyright + year of creation + current year)

0.1

  • Initial release