by NUMAN RASHEED on WordPress.org
Short Description: Automatically add dynamic dates, months, and years to your WordPress posts using shortcodes.

List of shortcodes
**Test AADMY Before You Install! **
Want to see how this plugin works before installing it on your site?
Try this plugin on our dummy site to explore its features and functionality in a live environment.
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. 2024)
Examples:
[cdown_short date=”12/31/2024″]: Shows the time remaining until December 31, 2024, in a short format: “84d, 7h, 26m, 38s”.
[countdown date=”12/31/2024″]: Shows the time remaining until December 31, 2024, in a detailed format: “84 days, 7 hours, 26 minutes, 38 seconds”.
[cdown_short date=”06/01/2025″]: Displays the time left until June 1, 2025, in a short format.
[countdown date=”06/01/2025″]: Displays the time left until June 1, 2025, in a detailed format.
Examples:
[custom_countdown_short hours=”48″]: Displays 2d, 0h, 0m, 0s.
[custom_countdown_full hours=”12″]: Displays 0 days, 12 hours, 0 minutes, 0 seconds.
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 functions.php file.
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]’);