Shortcode voor huidige datum


Shortcode voor huidige datum enables you to put current date, current month or current year anywhere in your WordPress site with a simple shortcode.

Just use the shortcode [current_date] and when the post or page is displayed, [current_date] will be replaced by the current date. And the date will be translated according to your site settings.

By default it will show a date like this: 7th May 2017

But you can customize it to your needs. To do that, you’ll need to pass the date format using an attribute with the shortcode.
Here are some examples:

[current_date format=’d/m/Y’] will show the date like this: 07/05/2017
[current_date format=’F d, Y’] will show the date like this: May 07, 2017

If you don’t understand how this formatting works, that’s totally okay.

Gutenberg blok

Als je de Gutenberg editor gebruikt, dan is er een huidig datum blok dat je kunt gebruiken om de huidige datum in te voegen in je berichten en pagina’s.

Als het het blok gebruikt, hoef je geen shortcode te gebruiken.

Wanneer je een block toevoegt, vind je aan in de rechter zijbalk onder block opties een veld om de datumweergave in te voeren.


Je kunt de ‘size’ en ‘color’ attributen gebruiken om de datumweergave vorm te geven.

Als voorbeeld, [current_date format=’d/m/Y’ size=’20px’ color=’#FF0000′]

What’s Next

If you like this plugin, then consider checking out our other plugins:

  • WP Table Builder – Drag and Drop Table Builder Plugin. Build Responsive Tables insanely easily.
  • Ultimate Blocks – Create Better Content with Gutenberg + Ultimate Blocks. Essential Collection of Blocks for Bloggers and Affiliate Marketers.
  • WP Coupons and Deals – Make More Money from Your Affiliate Coupons and Deals.

Visit WPLeaders to learn more about WordPress, WordPress themes and plugins.


Deze plugin heeft 1 blok.

  • Current Date


This is one way you can install the plugin:

  1. Download the plugin from WordPress plugin repository and upload the zip file in ‘Add New’ under ‘Plugins’.
  2. Activate the plugin.

Another way :

  1. From WordPress dashboard, go to Add New under Plugins section.
  2. Search for ‘Shortcode for Current Date’
  3. From search results, click on ‘Shortcode for Current Date’.
  4. Click on Install button and activate the plugin.


7 maart 2022
Super simple to use... and it works every time! Have had no issues with it whatsoever. Thank you!!!
19 augustus 2021
Great Plugin to have, works beautifully
30 maart 2021
I used for jet elements linsting grid: Post query > Meta Query: value ShorCode and its works!!!!!
Lees alle 114 beoordelingen

Bijdragers & ontwikkelaars

“Shortcode voor huidige datum” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


Vertaal “Shortcode voor huidige datum” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.



  • WordPress 6.3 compatible.


  • WordPress 6.2 compatible.


  • WordPress 6.1 compatible.


  • Security updates.


  • Security issue fix.


  • FIX: Style.css not found issue.


  • FIX: Dependency missing issue.
  • FIX: Error when Gutenberg is not available.
  • FIX: Deprecated PHP notice.


  • ADD: Gutenberg Block for Adding Current Date.


  • FIX: Preserving old shortcode output.


  • ADD: Option to Control Font Size.
  • ADD: Option to Control Font Color.
  • ADD: CSS Class to Control Style Globally.


  • Tested with WordPress 5.4.


  • Tested with latest WordPress version.
  • Removed admin notice about other plugin.


  • Tested with WordPress 5.2.


  • Tested with WordPress 5.1.


  • Tested with WordPress 5.0.3.
  • Updated some links.


  • Used date_i18n() function to make the date translated according to site settings. Thanks to @themezee


  • Tested with WordPress 5.0.
  • Settings and Welcome page Changes.


  • Tested with WordPress 5.0.


  • Fix – Day Number of the Year bug.


  • Add – Shortcode execution in Post Title.


  • Fixed a bug.
  • Added WP current_time funtion instead of date function to retrieve WP time instead of server time. Thanks to Rick Carter.


  • Tested with WordPress 4.9


  • Fixed a bug.


  • Added a Menu item to quickly access the date formats.


  • Added a welcome page.


  • Initial Release