This WordPress plugin allows you to dynamically add current dates, years, months, and other time-related elements to your content. It helps to keep your content up-to-date and improve your SEO thus ensuring that your website’s content is always fresh and relevant. With this plugin, you can easily add dynamic current time elements to your website without any coding knowledge.
This plugin adds the following short codes to your WordPress Blog/Site:
[cy] – Stands For [Current Year] This would output the current year, the previous year, and the next year in the post, like this: (e.g. 2023)
- [py] – Stands For [Previous Year] Outputs the previous year (e.g. 2022)
- [ny] – Stands For [Next Year] Outputs the next year (e.g. 2024)
- [today] – Stands For [Today Full Date] Outputs the Full Date, month and year (e.g. November 09, 1994)
- [cd] – Stands For [Current Date] Outputs the Current Day (e.g. 27)
- [pd] – Stands For [Previous day] Outputs the Previous Day (e.g. Thursday)
- [day] – Stands For [day] Outputs the Current Day (e.g. Friday)
- [nd] – Stands For [Next day] Outputs the Previous Day (e.g. Saturday)
- [cm] – Stands For [Current Month] Outputs the Current Month (e.g. December)
- [nm] – Stands For [Next Month] Outputs the name of next month (e.g. This month is December when you use given shortcode output must be January)
- [pm] – Stands For [Previous Month] Outputs the name of previous month (e.g. This month is December when you use given shortcode output must be November)
- This shortcode will display a previous or future date based on an offset from the current date. Usage: [offset date=”OFFSET”], where “OFFSET” is an integer representing the number of days before (-) or after (+) the current date. Examples:
- [offset date=”-1″] will display the previous date based on the user’s timezone. Example output: “May 4, 2023”.
- [offset date=”0″] is equivalent to [today] and will display the current date. Example output: “May 5, 2023”.
- [offset date=”1″] will display the next date based on the user’s timezone. Example output: “May 6, 2023”.
- [offset date=”365″] will display the date one year from the current date based on the user’s timezone. Example output: “May 5, 2024”.
Note that the date format is “F j, Y” (e.g. “May 5, 2023”). You can modify this format by editing the
show_previous_dates() function in the
- [fcr] – Stands For [Full Copyrights] Outputs the Footer Copyrights with (All Rights Reserved) text.
- [c] – Stands For [Just Copyrights Symbol] Outputs the © Symbol if user want show this symbol anywhere in where installed this plugin
- [st] – Stands For [Site Title] Outputs the Site URL with anchoring the Site Name
- [post_modified]: Use this shortcode to display the updated date of a post or page. It will show the date in the format “Month Day, Year” (e.g., May 27, 2023).
- [post_mdt]: Use this shortcode to display the updated date and time of a post or page. It will show the date in the format “Month Day, Year” and the time in a 12-hour format with AM/PM (e.g., May 27, 2023 at 3:21 PM).
- [age dob=”mm/dd/yyyy”] With this code, you can use the shortcode [age dob=”11/09/1994″] in your WordPress content to output the current age based on the provided date of birth.
- Note: Make sure to replace ’11/09/1994′ with the actual date of birth that you want to use.
- [aadmy_event date=”mm/dd/yyyy”] A numbers of years can be referred to using this short code. like [aadmy_event date=”04/12/2021″] outputs the 1 years, 9 months, and 8 days ago
- Setting Shortcodes for Copy
- [copy name=”copy1″ value=”AADMY Auto Plugin”] (You can set your own value within the name=” “ attribute. i used copy1)
- Pasting the Copy shortcode value Here
- [paste name=”copy1″]
Similarly, you can create and use additional copy and paste shortcodes with unique names to store and retrieve other values as needed.
This code is showing you how to create shortcodes for copying and pasting specific values.
To set a value to be copied, you would use the shortcode [copy] and include a name and value attribute, like this: [copy name=”copy1″ value=”AADMY Auto Plugin”]
Then, when you want to paste that value somewhere else, you would use the shortcode [paste] and include the name attribute, like this: [paste name=”copy1″]
You can create and use additional copy and paste shortcodes with unique names to store and retrieve other values as needed.
Call Shortcodes with PHP
* Use this: echo do_shortcode(‘[shortcode_name]’);
- This plugin is compatible with WordPress versions 4.7 and higher, as well as with any WordPress theme.
- For more information and usage examples, you can visit our plugin page.
- If you have a problem with our plugin or have any questions, you can contact our support team by emailing firstname.lastname@example.org or by visiting our support forum. We will do our best to assist you and resolve any issues you may have.
Download the plugin file. The plugin file will usually be in the form of a .zip file.
Log in to your WordPress dashboard.
Navigate to the “Plugins” section by clicking on the “Plugins” link in the left-hand menu.
Click on the “Add New” button at the top of the page.
Click on the “Upload Plugin” button.
Choose the .zip file you downloaded in step 1, and then click on the “Install Now” button.
Once the plugin has been installed, click on the “Activate Plugin” link to activate it.
The plugin should now be installed and activated on your WordPress site. You can access the plugin’s settings and options by clicking on the “Settings” link for the plugin on the “Plugins” page.
Note: Some plugins may require additional steps to be fully configured and functional on your site. Be sure to read the documentation provided by the plugin developer for any additional instructions.
Can I display the current month or day using your plugin?
Yes, you can display the current month or day using the shortcodes [cm] respectively. These shortcodes will automatically update to display the current month to the page is loaded.
How do I add the shortcodes to my website?
To add the shortcodes to your website, simply insert them into the content of your page or post where you want them to be displayed. You can also add the shortcodes to your theme’s template files if you want them to be displayed on multiple pages or posts.
Can I use your plugin to display the current time?
No, our plugin does not have a feature to display the current time. However, this feature will be available to use in future updates.
How do I Add Current Year in WordPress? or How do I show year in WordPress?
To add the current year in WordPress, you can use the AADMY plugin and insert the [cy] shortcode in your posts or pages. The plugin will automatically display the current year.
How can I Display the last updated date on my WordPress Posts and Pages?
To display the last updated date on your WordPress posts and pages, you can use the shortcode [post_modified]. Simply add this shortcode to the desired location within your post or page, and the last modified date will be automatically displayed. This is a great way to let your visitors know when your content was last updated, which can help to build trust and credibility with your audience.
How can I use a dynamic copyright year in WordPress?
To use a dynamic copyright year in WordPress, you can use the shortcode [fcr], which stands for “Full Copyrights Year.” This shortcode will automatically display the current year in your copyright notice, so you don’t have to manually update it each year. However, make sure that you have installed the AADMY plugin, which provides this functionality.
How can I make my WordPress post dynamic?
To make your WordPress post dynamic, you can use the AADMY Plugin, which provides several dynamic shortcodes to display content dynamically. These shortcodes allow you to insert dynamic elements such as the current date, time, user information, and more. By using these shortcodes, you can make your WordPress post more engaging and personalized for your audience.
How do I add a date to my WordPress posts?
To add a date to your WordPress posts, you can use the shortcode [today], which displays the current date dynamically based on your timezone settings in WordPress. Simply insert this shortcode within your post where you want to display the date, and it will automatically update to show the current date whenever the post is viewed.
Contributors & Developers
“AADMY – Add Auto Date Month Year Into Posts” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
Latest WordPress Support Added: Aug 30, 2023
Bugs Fixed and Minro Changes Added: May 27, 2023
Two Post Modified Functions are Added (With Date & With Date and Time)
Next and Previous Days Added for Next day use [nd] and for previous Day use [pd]
Bugs Fixed and Major Changes Added: May 05, 2023
FCR Function Updated (Bug Fixed)
Offset date Function Added
Bugs Fixed and Minor Changes Added: April 05, 2023
Useless Files Removed
Welcome Page Edited
Bugs Fixed and Major Changes Added: April 02, 2023
Main File Renamed
Plugin Description Edited
Session Removed from Copy/Paste
Freemius SDK updated to v2.5.6
Bugs Fixed and New Shortcodes Added: March 20, 2023
Bugs Fixed and New Shortcodes Added: March 16, 2023
New Shortcode for Copy Pasting Added
Bugs Fixed and Shortcodes Changed: January 27, 2023
All Shortcode changed long to short for handle characters issues
Bugs Fixed and New Shortcodes Added: January 10, 2023
Age Calculator Added use shortcode to calculate The total age
Custom period function added (combined) A duration of years, months, or days can be referred to using this short code.
Bugs Fixed and New Shortcodes Added: January 05, 2023
New shortcodes added
SEO Plugins Support Added SEOPress/RankMath/YoastSEO
Bugs Fixed and New Shortcodes Added: December 23, 2022
New shortcodes added
Welcome Page Added
Bugs Fixed and New shortcodes added: December 22, 2022
Bugs Fixed and New shortcodes added
Copy Symbol & Copyrights Text short code added.
Show Last Modified Date using shortcode added
Bugs Fixed and Some Other Changings: December 21, 2022
Table and Menu Registered
Initial Release: December 21, 2022
Now the versions are listed from latest to oldest.