Last updated on: October 10, 2024
The plugin allows users to easily add the current year, month, or date to their WordPress posts or pages using shortcodes. This can be useful for SEO purposes, as it allows users to update the content of their posts or pages with the current year, month, or date without having to manually change the content each time.
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.
To use the plugin, users can insert one of the following shortcodes into the content of their post or page:
AADMY- Add Auto Date Month Year – Shortcodes List
Purpose | ShortCode | Output |
---|---|---|
Current Year | cy | 2024 |
Previous Year | py | 2023 |
Next Year | ny | 2025 |
Current Day | day | Monday |
Current Date | cd | 14 |
Current Month | cm | October |
Previous Month | pm | September |
Next Month | nm | November |
Full Date | today | October 14, 2024 |
The shortcodes will be replaced with the current year, month, or day when the page is displayed.
In addition to the basic shortcodes, the plugin may also include additional features or options, such as the ability to customize the format of the date or time, or to display the modified date of a post or page. The plugin includes functions and shortcodes to enable these features and options, and provides users with documentation on how to use them.
(AADMY) Extra Shortcodes List
Purpose | Shortcode | Output |
---|---|---|
Site Title | st | Numan Rasheed |
Copyright text | fcr | © 2024 Numan Rasheed - All Rights Reserved. |
Copyright Symbol | cs | © |
Post Modified | post_modified | October 10, 2024 |
Age Calculator | age dob=”08/14/1947″ | 77 Years |
Event Happened | aadmy_event date=”08/14/1947″ | 77 years, 2 months, and 0 days ago |
Copy/Paste Function
Copy Shortcode |
---|
copy name=”copy1″ value=”AADMY Auto Plugin” |
AADMY Auto Plugin Value Stored in copy1
Don’t forget to put these shortcodes in Square brackets [shortcode]
Paste Shortcode |
---|
paste name=”copy1″ |
Don’t forget to put these shortcodes in Square brackets [shortcode]
output is
offset Function
This shortcode will display a previous or future date based on an offset from the current date. Usage: October 14, 2024, where “OFFSET” is an integer representing the number of days before (-) or after (+) the current date. Examples:
October 13, 2024 |
- offset date=”-1″ will display the previous date based on the user’s timezone. Example output: “October 13, 2024 ”.
- offset date=”0″ is equivalent to October 14, 2024 and will display the current date. Example output: “October 14, 2024”.
- offset date=”1″ will display the next date based on the user’s timezone. Example output: “October 15, 2024”.
- offset date=”365″ will display the date one year from the current date based on the user’s timezone. Example output: “October 14, 2025”.
How to Place Shortcode in PHP
To place a shortcode in PHP, you can use the
the function provided by WordPress. This function allows you to execute a shortcode within a PHP function or script.do_shortcode()
Here is an example of how you can use the do_shortcode()
function to execute a shortcode in PHP:
echo do_shortcode(‘[shortcode_name]’);
AADMY Changelog
Last updated on: October 10, 2024
Releases | Changes |
---|---|
2.0.0 | Release Date: September 14, 2024 1: Bug Fixes 2: New Feature 3: Tag Limitation Fixed 4: Contributors Fixed 5: Short Description Fixed |
1.1.9 | Updated on: September 7, 2024 1: User Profile Bug Fixed 2: Code Optimized 3: Freemius SDK Version Updated |
1.1.8 | Updated on: May 15, 2024 1: Copy Rights Symbol Fixed 2: ReadMe File Updated 3: Bugs Fixed 4: Freemius SDK Version Updated To 2.7.0 |
1.1.7 | Updated on: April 15, 2024 1: Parse shortcodes within alt attributes like ( Run in Images alt Text) 2: Latest WordPress 6.5 Support Added |
1.1.6 | Shortcodes Enabled For SEO Plugins & Elementor: Jan 10, 2024 1: SEO Plugins (Yoast, RankMath, SEOPress) 2: Shortcode Enabled For Elementor Elements 3: Some Minor Bugs Fixed |
1.1.5 | Freemius SDK Version Updated To 2.6.1: Dec 12, 2023 |
1.1.4 | Latest WordPress Support Added: Nov 19, 2023 1: Tomorrow Day Function Added use October 15, 2024 for the next day date. |
1.1.3 | Latest WordPress Support Added: Aug 30, 2023 |
1.1.2 | Bugs Fixed and Minor Changes Added: May 27, 2023 1: Two Post Modified Functions are Added (With Date & With Date and Time) 2: Next and Previous Days Added for Next day use nd and for previous Day use pd |
1.1.1 | Bugs Fixed and Major Changes Added: May 05, 2023 1: FCR Function Updated (Bug Fixed) 2: Offset date Function Added 3: Major Changes |
1.1.0 | Bugs Fixed and Minor Changes Added: April 05, 2023 1: Bugs Fixed 2: README.txt Updated 3: FAQ Updated 4: Contributors Added 5: Style Rearranged 6: Useless Files Removed 7: Welcome Page Edited |
1.0.9 | Bugs Fixed and Major Changes Added: April 02, 2023 1: Bugs Fixed 2: Main File Renamed 3: Plugin Renamed 4: Plugin Description Edited 5: Session Removed from Copy/Paste 6: Freemius SDK updated to v2.5.6 |
1.0.8 | Bugs Fixed and New Shortcodes Added: March 20, 2023 1: Bugs Fixed (Age Calculator) |
1.0.7 | Bugs Fixed and New Shortcodes Added: March 16, 2023 1: Bugs Fixed 2: New Shortcode for Copy Pasting Added |
1.0.6 | Bugs Fixed and Shortcodes Changed: January 27, 2023 1: Bugs Fixed 2: All Shortcode changed from long to short to handle characters issues |
1.0.5 | Bugs Fixed and New Shortcodes Added: January 18, 2023 1: Bugs Fixed 2: Age Calculator Added use shortcode to calculate The total age 3: Custom period function added (combined) 4: Time Modification function added to post_modified |
1.0.4 | Bugs Fixed and New Shortcodes Added: January 05, 2023 1: Bugs Fixed 2: New shortcodes added 3: SEO Plugins Support Added SEOPress/RankMath/YoastSEO |
1.0.3 | Bugs Fixed & Welcome Page added: December 22, 2022 1: Bugs Fixed 2: New shortcodes added 3: Welcome Page Added |
1.0.2 | Bugs Fixed and New shortcodes added: December 22, 2022 1: Bugs Fixed and New shortcodes added 2: Copy Symbol & Copyrights Text shortcode added. 3: Show the Last Modified Date using the shortcode added |
1.0.1 | Bugs Fixed and Some Other Changings: December 21, 2022 1: Bugs Fixed 2: Table and Menu Registered |
1.0.0 | Initial Release: December 21, 2022 |