Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Current Year By Nasim

Skildring

Current Year By Nasim is a minimal WordPress plugin that allows you to easily insert the current year anywhere on your site using a shortcode.

Usage:
Simply add [cyb_nasim] where you want the current year to appear.

  • Automatically updates every year
  • Clean and simple
  • No settings required

Installasjon

  1. Upload the plugin folder current-year-by-nasim to the /wp-content/plugins/ directory.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Use the [cyb_nasim] shortcode in posts, pages, widgets, or templates.

Vanlege spm.

Does this plugin require any configuration?

No. Just install and use the shortcode [cyb_nasim].

Can I use it in my theme template?

Yes. You can call it in PHP using: echo do_shortcode('[cyb_nasim]');

Omtalar

24. juni 2025
Every New Year, I’d forget to update the copyright date. This plugin updates it automatically, and I never have to think about it again. Great little tool!
Les alle 0 omtalar

Bidragsytarar og utviklarar

“Current Year By Nasim” is open source software. The following people have contributed to this plugin.

Contributors

“Current Year By Nasim” er omsett til 3 språk. Takk til omsetjarane for bidraga deira.

Omset “Current Year By Nasim” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

1.0.1

  • Updated function names and shortcode to follow WordPress guidelines.
  • Removed unneeded register_setting and cleaned header fields.

1.0.0

  • Initial release.