Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all…
About Shortcode for Current Date
The Shortcode for Current Date plugin allows you to display the current date, month, or year anywhere on your WordPress site using a simple shortcode. You can customize the date format and style it using attributes. If you prefer using the Gutenberg editor, there is a Current Date block available as well.Frequently asked questions
What does the shortcode [current_date] do?
The shortcode [current_date] enables you to put the current date, current month, or current year anywhere in your WordPress site.
How can I customize the date format?
To customize the date format, you can pass the desired format as an attribute with the shortcode. For example, [current_date format='d/m/Y'] will show the date like this: 07/05/2017.
Can I use the Current Date block in Gutenberg editor?
Yes, if you are using the Gutenberg editor, there is a Current Date block that you can use to insert the current date in your posts/pages. You will not need to use the shortcode if you use the block.
How can I style the date?
You can use the 'size' and 'color' attributes to style the date. For example, [current_date format='d/m/Y' size='20px' color='#FF0000'] will style the date with a font size of 20px and a color of #FF0000.
What are some other plugins by WPLeaders?
Some other plugins by WPLeaders include WP Table Builder, Ultimate Blocks, and WP Coupons and Deals. You can visit their website to learn more about these plugins.
Changelog
2.2.0
- WordPress 6.3 compatible.
2.1.9
- WordPress 6.2 compatible.
2.1.8
- WordPress 6.1 compatible.
2.1.7
- Security updates.
2.1.5
- Security issue fix.
2.1.4
- FIX: Style.css not found issue.
2.1.3
- FIX: Dependency missing issue.
- FIX: Error when Gutenberg is not available.
- FIX: Deprecated PHP notice.
2.1.2
- ADD: Gutenberg Block for Adding Current Date.
2.1.1
- FIX: Preserving old shortcode output.
2.1.0
- ADD: Option to Control Font Size.
- ADD: Option to Control Font Color.
- ADD: CSS Class to Control Style Globally.
2.0.8
- Tested with WordPress 5.4.
2.0.7
- Tested with latest WordPress version.
- Removed admin notice about other plugin.
2.0.6
- Tested with WordPress 5.2.
2.0.5
- Tested with WordPress 5.1.
2.0.4
- Tested with WordPress 5.0.3.
- Updated some links.
2.0.3
- Used date_i18n() function to make the date translated according to site settings. Thanks to @themezee
2.0.1
- Tested with WordPress 5.0.
- Settings and Welcome page Changes.
2.0.0
- Tested with WordPress 5.0.
1.2.5
- Fix – Day Number of the Year bug.
1.2.4
- Add – Shortcode execution in Post Title.
1.2.3
- Fixed a bug.
- Added WP current_time funtion instead of date function to retrieve WP time instead of server time. Thanks to Rick Carter.
1.2.2
- Tested with WordPress 4.9
1.2.1
- Fixed a bug.
1.2
- Added a Menu item to quickly access the date formats.
1.1
- Added a welcome page.
1.0
- Initial Release
