描述
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
安装
- Upload the plugin folder
current-year-by-nasimto the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Use the
[cyb_nasim]shortcode in posts, pages, widgets, or templates.
常见问题
-
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]');
评价
2025 年 6 月 24 日
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!
贡献者及开发者
更新日志
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.
