AADMY – Add Auto Date Month Year Into Posts

Description

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)

  • [py] – Stands For [Previous Year] Outputs the previous year (e.g. 2023)
  • [ny] – Stands For [Next Year] Outputs the next year (e.g. 2025)
  • [today] – Stands For [Today Full Date] Outputs the Full Date, month and year (e.g. November 09, 1994)
  • [tomorrow] Stands For Next Day Full Date e.g, (Today is April 16, 2024 it will show the April 17, 2024 using simple shortcode [tomorrow])
  • [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)

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.

[offset]

  • 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:
  1. [offset date=»-1″] will display the previous date based on the user’s timezone. Example output: «May 4, 2023».
  2. [offset date=»0″] is equivalent to [today] and will display the current date. Example output: «May 5, 2023».
  3. [offset date=»1″] will display the next date based on the user’s timezone. Example output: «May 6, 2023».
  4. [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 functions.php file.

Other Shortcodes

  • [fcr] – Stands For [Full Copyrights] Outputs the Footer Copyrights with (All Rights Reserved) text.
  • [cs] – 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]’);

Compatibility

  • This plugin is compatible with WordPress versions 6.0 and higher, as well as with any WordPress theme.

Full Guide

  • 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 dm@numanrki.com or by visiting our support forum. We will do our best to assist you and resolve any issues you may have.

Screenshots

  • List of shortcodes
  • Table of shortcodes
  • Using of shortcodes
  • output of shortcodes

Installation

  • 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.

FAQ

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.

Reviews

30 de septiembre de 2024 1 reply
Cool plugin, thanks! 🙂
2 de abril de 2023 1 reply
I just discovered the Auto Date Year Month plugin, and I must say, it has impressive features. It has not only helped with the better organization but also boosted my website’s SEO. The best part about this plugin is that it’s straightforward to use and doesn’t require any technical knowledge. Besides, the support team is always ready to assist with any questions or concerns that I may have. In conclusion, I strongly recommend the Auto Date Year Month plugin to anyone who wants to easily enhance their website’s structure and SEO.
2 de abril de 2023 1 reply
I recently came across the Auto Date Year Month plugin and I must say I’m impressed with its functionality. It has made my life so much easier by automatically adding the current year and month to my post URLs, which not only helps with organization but also improves my website’s SEO. The plugin is extremely easy to use and requires no technical expertise. Plus, the support team is always quick to respond to any questions or issues that I have encountered. Overall, I highly recommend the Auto Date Year Month plugin to anyone who wants to improve their website’s structure and SEO without any hassle.
21 de diciembre de 2022 1 reply
Dear WordPress plugin developer, I just wanted to take a moment to express my sincere appreciation for the amazing plugin you have created. It has truly been a game-changer for me and has made it so much easier to keep my content up to date. The features of the plugin are innovative and well-implemented, and it has saved me a significant amount of time and effort. I am constantly impressed by the thought and care that has gone into its development. Thank you for all of your hard work and for creating such a valuable tool. Your efforts are truly appreciated and have made a positive difference in my work. Keep up the great work! Sincerely,Ehtsham Ul Hassan
Read all 4 reviews

Contributors & Developers

“AADMY – Add Auto Date Month Year Into Posts” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

Version 2.0.1

Release Date: September 27, 2024

Update: AADMY logo added to the welcome screen for a better visual introduction.
Requirement: PHP 7.4 or higher is required for this version.
Fixed security issue: by sanitizing session variables in copy and paste shortcodes using sanitize_key() and sanitize_text_field() to prevent unsanitized input vulnerabilities.
Plugin Try feature added: Included a link to a live dummy site for users to test the plugin before installation.

Version 2.0.0

Release Date: September 14, 2024

Bug Fixes: Resolved known issues to enhance performance and stability.
New Feature: Added a donation notice to encourage community support.
Tag Limitation Fixed: One or more tags (copyright, copyright shortcode, trademark, copyright symbol, trademark shortcode, trademark symbol, symbol shortcode) were previously ignored. The issue has been resolved by adhering to the 5-tag limit.
Contributors Fixed: An unrecognized WordPress.org username was previously ignored. This issue has now been corrected in the Contributors field.
Short Description Fixed: The Short Description section, which was missing, has now been properly added to replace the auto-generated excerpt.

1.1.9

Updated on: September 7, 2024

User Profile Bug Fixed: Resolved an issue where the update button was not showing up on the user profile page.
Freemius SDK Version Updated: Updated Freemius SDK to version 2.7.4 for improved stability and new features.
Code Optimized: Improved plugin structure, reduced redundancy in shortcode handling, and increased overall efficiency.

1.1.8

Updated on: May 15, 2024
Copy Rights Symbol Fixed
ReadMe File Updated
Bugs Fixed
Freemius SDK Version Updated To 2.7.0

1.1.7

Updated on: April 15, 2024
Parse shortcodes within alt attributes like (Images alt Text)
Latest WordPress 6.5 Support Added

1.1.6

Shortcodes Enabled For: Jan 10, 2024
SEO Plugins (Yoast, RankMath, SEOPress)
Shortcode Enabled For Elementor Elements
Some Minor Bugs Fixed

1.1.5

Freemius SDK Version Updated To 2.6.1

1.1.4

Latest WordPress 6.4 Support Added: Oct 28, 2023
New Abilities Added
Tomorrow Full Date Added e.g, (Today is September 30, 2023 it will show the October 01, 2023 using simple shortcode [tomorrow])

1.1.3

Latest WordPress Support Added: Aug 30, 2023

1.1.2

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]

1.1.1

Bugs Fixed and Major Changes Added: May 05, 2023

FCR Function Updated (Bug Fixed)
Offset date Function Added
Major Changes

1.1.0

Bugs Fixed and Minor Changes Added: April 05, 2023

Bugs Fixed
README.txt Updated
FAQ Updated
Contributors Added
Style Rearranged
Useless Files Removed
Welcome Page Edited

1.0.9

Bugs Fixed and Major Changes Added: April 02, 2023

Bugs Fixed
Main File Renamed
Plugin Renamed
Plugin Description Edited
Session Removed from Copy/Paste
Freemius SDK updated to v2.5.6

1.0.8

Bugs Fixed and New Shortcodes Added: March 20, 2023

Bugs Fixed

1.0.7

Bugs Fixed and New Shortcodes Added: March 16, 2023

Bugs Fixed
New Shortcode for Copy Pasting Added

1.0.6

Bugs Fixed and Shortcodes Changed: January 27, 2023

Bugs Fixed
All Shortcode changed long to short for handle characters issues

1.0.5

Bugs Fixed and New Shortcodes Added: January 10, 2023

Bugs Fixed
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.

1.0.4

Bugs Fixed and New Shortcodes Added: January 05, 2023

Bugs Fixed
New shortcodes added
SEO Plugins Support Added SEOPress/RankMath/YoastSEO

1.0.3

Bugs Fixed and New Shortcodes Added: December 23, 2022

Bugs Fixed
New shortcodes added
Welcome Page Added

1.0.2

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

1.0.1

Bugs Fixed and Some Other Changings: December 21, 2022

Bugs Fixed
Table and Menu Registered

1.0.0

Initial Release: December 21, 2022

Initial Release
Now the versions are listed from latest to oldest.