Title: AADMY &#8211; Add Auto Date Month Year Into Posts
Author: NUMAN RASHEED
Published: <strong>21. desember, 2022</strong>
Last modified: 29. mai, 2025

---

Søk i utvidelser

![](https://ps.w.org/auto-date-year-month/assets/banner-772x250.jpg?rev=2837199)

![](https://ps.w.org/auto-date-year-month/assets/icon.svg?rev=3151947)

# AADMY – Add Auto Date Month Year Into Posts

 Av [NUMAN RASHEED](https://profiles.wordpress.org/numanrki/)

[Last ned](https://downloads.wordpress.org/plugin/auto-date-year-month.2.0.5.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/auto-date-year-month/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/auto-date-year-month/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/auto-date-year-month/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/auto-date-year-month/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/auto-date-year-month/)

## Beskrivelse

**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](https://tastewp.org/plugins/auto-date-year-month/)**
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)
 * **[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)

### [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»**.

### Countdown short and Countdown

 * These shortcodes will display a live countdown to a specified date, either in
   a compact or detailed format, based on the shortcode used. The countdowns will
   update in real-time, showing the remaining time until the target date provided
   by the user.
    Usage: **[cdown_short date=»mm/dd/yyyy»]:** Displays the countdown
   in a short format (e.g., «84d, 7h, 26m, 38s»). **[countdown date=»mm/dd/yyyy»]:**
   Displays the countdown in a full format (e.g., «84 days, 7 hours, 26 minutes,
   38 seconds»).

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

 * Shortcodes to display live countdowns in a short or detailed format, depending
   on user input.
    **[custom_countdown_short hours=»value»]:** Countdown in a compact
   format (e.g., 2d, 5h, 30m, 45s). **[custom_countdown_full hours=»value»]:** Countdown
   in a full format (e.g., 2 days, 5 hours, 30 minutes, 45 seconds).

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

### 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](https://numanrki.com/aadmy-wordpress-plugin/).
 * 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](https://wordpress.org/support/plugin/auto-date-year-month/).
   We will do our best to assist you and resolve any issues you may have.

## Skjermbilder

 * [[
 * List of shortcodes
 * [[
 * Table of shortcodes
 * [[
 * Using of shortcodes
 * [[
 * output of shortcodes

## Installasjon

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

## Ofte stilte spørsmål

### 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](https://wordpress.org/plugins/auto-date-year-month),
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.

## Vurderinger

![](https://secure.gravatar.com/avatar/74e6d9a6128c438fdf37a3af909b03659d0f9a6e99daffdae37a710a1b65cabb?
s=60&d=retro&r=g)

### 󠀁[Cool!](https://wordpress.org/support/topic/cool-1321/)󠁿

 [MixHa](https://profiles.wordpress.org/mixha/) 30. september, 2024 1 svar

Cool plugin, thanks! 🙂

![](https://secure.gravatar.com/avatar/59fb9a33c4539a6e5ed6608639807887946ab38e216f93a4970f56c216844e73?
s=60&d=retro&r=g)

### 󠀁[Out date year month plugin review: Positive difference in my work](https://wordpress.org/support/topic/out-date-year-month-plugin-review-positive-difference-in-my-work/)󠁿

 [noor09k](https://profiles.wordpress.org/noor09k/) 2. april, 2023 1 svar

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.

![](https://secure.gravatar.com/avatar/86b9433c7eb760e27acb1a4d8681982cbc57f8ed249a8b4348f1774a2c7cdf78?
s=60&d=retro&r=g)

### 󠀁[Effortlessly Keep Your Posts Current with Auto Date Year Month Plugin: A Review](https://wordpress.org/support/topic/effortlessly-keep-your-posts-current-with-auto-date-year-month-plugin-a-review/)󠁿

 [Salman RK](https://profiles.wordpress.org/sallubhatti2/) 2. april, 2023 1 svar

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.

![](https://secure.gravatar.com/avatar/44c83bb7ea88818f95683ac55b4252f34abf091ad6f3ce677dd5c6a924d1ac23?
s=60&d=retro&r=g)

### 󠀁[Efforts are truly Appreciated and Have Made a Positive Difference in my Work.](https://wordpress.org/support/topic/efforts-are-truly-appreciated-and-have-made-a-positive-difference-in-my-work/)󠁿

 [ehtshamulhassan3](https://profiles.wordpress.org/ehtshamulhassan3/) 21. desember,
2022 1 svar

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

 [ Les alle 4 vurderinger ](https://wordpress.org/support/plugin/auto-date-year-month/reviews/)

## Bidragsytere og utviklere

«AADMY – Add Auto Date Month Year Into Posts» er programvare med åpen kildekode.
Følgende personer har bidratt til denne utvidelsen:

Bidragsytere

 *   [ NUMAN RASHEED ](https://profiles.wordpress.org/numanrki/)
 *   [ Salman RK ](https://profiles.wordpress.org/sallubhatti2/)

[Oversett “AADMY – Add Auto Date Month Year Into Posts” til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/auto-date-year-month)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/auto-date-year-month/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/auto-date-year-month/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/auto-date-year-month/)
med [RSS](https://plugins.trac.wordpress.org/log/auto-date-year-month/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### Version 2.0.5

Release Date: **May 28, 2025**

Bug Fixes:
 – Minor Bugs Fixed

#### Version 2.0.4

Release Date: **May 27, 2025**

Bug Fixes:
 – Add SDK autoload include

#### Version 2.0.3

Release Date: **May 25, 2025**

Bug Fixes:
 – Removed the donation notice include from the main plugin file. – Hostinger
Banner Added

#### Version 2.0.2

Release Date: **October 13, 2024**

New Features:
 – **Added [cdown_short]** shortcode for a compact countdown format(
e.g., «84d, 7h, 26m, 38s»). – **Added [countdown]** shortcode for a detailed countdown
format (e.g., «84 days, 7 hours, 26 minutes, 38 seconds»). – **Added [custom_countdown_short]**
shortcode for a compact countdown format (e.g., 2d, 5h, 30m, 45s). – **Added [custom_countdown_full]**
shortcode for a detailed countdown format (e.g., 2 days, 5 hours, 30 minutes, 45
seconds).

Security Fix:
 – **Fixed vulnerability** allowing arbitrary shortcode execution 
in comments by unauthorized users. Shortcodes are now disabled in comments, and 
only authorized users (Contributor+ roles) can execute them. User input is sanitized
and output is escaped for enhanced security.

Special thanks to **Francesco Carlucci** for responsibly disclosing this vulnerability.

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

## Meta

 *  Versjon **2.0.5**
 *  Sist oppdatert **11 måneder siden**
 *  Aktive installasjoner **500+**
 *  WordPress-versjon ** 6.0 eller nyere **
 *  Testet opp til **6.8.5**
 *  PHP-versjon ** 7.4 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/auto-date-year-month/)
 * Stikkord
 * [content](https://nb.wordpress.org/plugins/tags/content/)[marketing](https://nb.wordpress.org/plugins/tags/marketing/)
   [seo](https://nb.wordpress.org/plugins/tags/seo/)[shortcode](https://nb.wordpress.org/plugins/tags/shortcode/)
   [writing](https://nb.wordpress.org/plugins/tags/writing/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/auto-date-year-month/advanced/)

## Vurderinger

 5 av 5 stjerner.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/auto-date-year-month/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/auto-date-year-month/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/auto-date-year-month/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/auto-date-year-month/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/auto-date-year-month/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/auto-date-year-month/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/auto-date-year-month/reviews/)

## Bidragsytere

 *   [ NUMAN RASHEED ](https://profiles.wordpress.org/numanrki/)
 *   [ Salman RK ](https://profiles.wordpress.org/sallubhatti2/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/auto-date-year-month/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](https://bit.ly/aadmyCoffee)