Este plugin non se actualizou en máis de 2 anos. É posible que xa non sexa compatible ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con novas versións de WordPress.

Current Year Shortcodes

Descrición

Current Year Shortcodes lets you insert the current year, month and day anywhere in your WordPress site with a simple shortcode.

Use the shortcode [Y] in any post, page or widget to display the current year.

How it works

[Y] – inserts the current year with four digits e.g. 2023
[y] – inserts the current year with two digits e.g. 23
[m] – inserts the current month with two digits e.g. 01
[n] – inserts the current month without leading zeros e.g. 1
[F] – inserts the current month as a text e.g. January
[M] – inserts the current month with three letters e.g. Jan
[d] – inserts the current day with two digits e.g. 06
[j] – inserts the current day without leading zeros e.g. 6
[D] – inserts the current day with three letters e.g. Mon
[l] – inserts the current day as a text e.g. Monday

Comentarios

6 de Xaneiro, 2024
Well it does what is says. Works fine with Elementor. Installed, inserted the short code, and never think about it again 🙂 Thank you
17 de Xuño, 2023 2 respostas
Added the [Y] code into the footer, and doesnt work, so deleted the plugin – not a good start!
Ler todas as 3 opinións

Colaboradores e desenvolvedores

“Current Year Shortcodes” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores

Traduce “Current Year Shortcodes” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

0.3

  • Added translations for months and days

0.2

  • Added current month and current day
  • Added logo

0.1

  • Initial Release