Skip to content

This plugin simplifies adding the current date, month, or year anywhere on your WordPress website using a shortcode. Simply insert [current-date] and it’ll automatically update with the current date based on your language settings.

License

Notifications You must be signed in to change notification settings

noruzzamans/Current-Date-Shortcode-for-Wordpress

Repository files navigation

=== Current Date Shortcode For WordPess ===
Contributors: noruzzaman
Tags: current date, month, shortcode, year
Requires at least: 5.0
Tested up to: 6.6.1
Stable tag: 1.0.1
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Easily display the current date anywhere using a simple shortcode, Gutenberg block, Elementor addon

== Description ==

**Embed Dynamic Dates in Your WordPress Site with a Shortcode**

This plugin simplifies adding the current date, month, or year anywhere on your WordPress website using a shortcode. Simply insert [current-date] and it'll automatically update with the current date based on your language settings.

**Flexible Date Formatting Options**

Need a specific date format? No problem! Pass a format attribute with the shortcode for customization.

**Example**
[current-date format='l, F jS, Y'] displays the date as "Tuesday, May 21st, 2024"
[current-date format='D, M j, Y'] displays the date as "Tue, May 21, 2024"
[current-date format='F j, Y'] displays the date as "May 21, 2024"
[current-date format='j F Y'] displays the date as "21 May 2024"
[current-date format='m/d/Y'] displays the date as "05/21/2024"
[current-date format='Y/m/d'] displays the date as "2024/05/21"
[current-date format='Y-m-d'] displays the date as "2024-05-21"
[current-date format='d-m-Y'] displays the date as "21-05-2024"
[current-date format='Y.m.d'] displays the date as "2024.05.21"
[current-date format='j.n.Y'] displays the date as "21.5.2024"
[current-date format='d/m/Y'] displays the date as "21/05/2024"
[current-date format='D, M j Y'] displays the date as "Tue, May 21 2024"
[current-date format='l, j F Y'] displays the date as "Tuesday, 21 May 2024"
[current-date format='D, j M Y'] displays the date as "Tue, 21 May 2024"
[current-date format='jS F Y'] displays the date as "21st May 2024"
[current-date format='F jS'] displays the date as "May 21st"
[current-date format='M j'] displays the date as "May 21"
[current-date format='Y-M-d'] displays the date as "2024-May-21"


**Easy to Use, Powerful Customization**

This user-friendly plugin empowers you to seamlessly integrate dynamic dates into your WordPress content, enhancing both functionality and user experience.

##CONTRIBUTE
The full source code is available on [GitHub Repository](https://github.com/noruzzamanrubel/Current-Date-Shortcode-for-Wordpress). Feel free to contribute or report an issue.

== Installation ==

There is no prerequisites for installing **Current Date Shortcode For WordPess**. You can follow the steps below to complete the installation.

= Automatic Installation =
1.  Go to `Plugins > Add New` screen from your WordPress website dashboard.
2.  Search for `Current Date Shortcode For WordPess`.
3.  Install and activate the plugin, that's it!

== Frequently Asked Questions ==

= Does the plugin come for free? =
Yes, it’s completely free.

== Changelog ==

= 1.0.1 =
Update: Improved compatibility with WordPress 6.6.1, guaranteeing smooth operation and stability within the WordPress ecosystem.

About

This plugin simplifies adding the current date, month, or year anywhere on your WordPress website using a shortcode. Simply insert [current-date] and it’ll automatically update with the current date based on your language settings.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages