https://github.com/praxismarketingagentur/current-year-shortcodes
WordPress plugin to insert the current year, month and day with a shortcode in any page, post or widget.
https://github.com/praxismarketingagentur/current-year-shortcodes
wordpress wordpress-development wordpress-plugin wordpress-site
Last synced: 5 months ago
JSON representation
WordPress plugin to insert the current year, month and day with a shortcode in any page, post or widget.
- Host: GitHub
- URL: https://github.com/praxismarketingagentur/current-year-shortcodes
- Owner: PraxismarketingAgentur
- Created: 2023-06-20T11:18:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T10:25:58.000Z (over 2 years ago)
- Last Synced: 2025-08-23T05:08:38.557Z (10 months ago)
- Topics: wordpress, wordpress-development, wordpress-plugin, wordpress-site
- Language: PHP
- Homepage: https://praxismarketing-agentur.com/
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
=== Current Year Shortcodes ===
Contributors: praxismarketing
Tags: shortcode, year, current, month, day, date, time
Requires at least: 4.6
Tested up to: 6.4.2
Stable tag: 0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Insert the current year, month and day with a shortcode in any page, post or widget of your WordPress site.
== Description ==
**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**
== Changelog ==
= 0.3 =
* Added translations for months and days
= 0.2 =
* Added current month and current day
* Added logo
= 0.1 =
* Initial Release