Description
« Simple Current Date Time » is a lightweight and straightforward WordPress plugin designed to effortlessly display dynamic date and time information on your website. It leverages WordPress’s built-in date/time formatting, ensuring that the output is automatically localized according to your site’s language settings. This makes it an ideal « date and time plugin for WordPress » for multilingual websites or any site needing accurate, localized date displays.
A key feature is its ability to parse these shortcodes not only in your post/page content but also directly within your H1 headings and, importantly, in your SEO metatitles (the <title> tag of your pages). This can be useful for creating dynamic, always-current titles.
Main Shortcodes (English):
* [simpcuda_current_year]
* [simpcuda_current_month_year]
* [simpcuda_current_date_time]
French Aliases Also Available:
* [simpcuda_annee] (for [simpcuda_current_year])
* [simpcuda_mois_annee] (for [simpcuda_current_month_year])
* [simpcuda_date_heure_courante] (for [simpcuda_current_date_time])
Why choose this plugin?
* Simplicity: No complex settings. Just install, activate, and use the shortcodes.
* Localized: Automatically uses your WordPress date and time settings, respecting your chosen language and format. Perfect for international sites.
* Lightweight: Minimal code, ensuring no performance impact on your site.
* SEO Friendly: Use dynamic dates in your titles and meta titles easily.
* Bilingual Shortcodes: Use English shortcodes or their French aliases for convenience.
For more information, full documentation, and support, please visit our plugin page on Inforeole.fr.
Captures d’écran
Installation
- Upload the
simple-current-date-timefolder (the entire plugin folder) to the/wp-content/plugins/directory. - Or, upload the
simple-current-date-time.zipfile via « Plugins > Add New > Upload Plugin » in your WordPress admin area. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Use the shortcodes (e.g.,
[simpcuda_current_year],[simpcuda_current_month_year], or their French aliases) in your posts, pages, widgets, H1 titles, or even configure them in your SEO plugin for the meta title.
FAQ
-
How are the date and time formatted?
-
The
[simpcuda_current_date_time](or its French alias[simpcuda_date_heure_courante]) shortcode uses the « Date Format » and « Time Format » you have configured under « Settings » > « General » in your WordPress admin area. The[simpcuda_current_year](alias[simpcuda_annee]) shortcode outputs a 4-digit year, and[simpcuda_current_month_year](alias[simpcuda_mois_annee]) outputs the full month name and 4-digit year, localized by WordPress. -
Can I use these shortcodes in my theme files?
-
Yes, you can use
<?php echo do_shortcode('[simpcuda_current_year]'); ?>(or any other valid shortcode) in your theme’s PHP files. -
Is it compatible with multilingual plugins (WPML, Polylang, etc.)?
-
Yes, because it uses
wp_date(), the date and time output will respect the language settings managed by most multilingual plugins for the frontend display. -
Where can I see the list of available shortcodes in my admin area?
-
Once the plugin is activated, the available shortcodes (both primary English shortcodes and their French aliases) are listed directly below the plugin’s description on your WordPress « Plugins » page for easy reference.
Avis
Il n’y a aucun avis pour cette extension.
Contributeurs & développeurs
« Simple Current Date Time » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Simple Current Date Time » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
2.0.1 (June 6, 2025)
- Fix: Removed the « Domain Path » header from the main plugin file to resolve a plugin check warning.
2.0.0 (June 6, 2025)
- Compliance Update: Addressed all initial feedback from the WordPress.org review team.
- Security: Prefixed all functions and shortcodes with
simpcuda_to prevent conflicts. Note: You must update your existing shortcodes (e.g.,[current_year]is now[simpcuda_current_year]). - Optimization: Removed the deprecated
load_plugin_textdomainfunction call. WordPress.org now handles this automatically. - Convention: Renamed the main plugin file to match the plugin slug for better standards compliance.
1.4 (May 31, 2025)
- Initial public release for WordPress.org.
- Added primary shortcodes in English:
[current_year],[current_month_year],[current_date_time]. - Added French alias shortcodes:
[annee],[mois_annee],[date_heure_courante]. - Internationalized plugin with Text Domain ‘simple-current-date-time’.
- Added French translation files.
- Plugin information (available shortcodes, support link) added to the plugins page.
- All code comments translated to English.
1.3 (Internal Version)
- Base functionality with French shortcodes.
- Enabled shortcodes in titles and meta-titles.
