AADMY – Add Auto Date Month Year Into Posts

AADMY – Add Auto Date Month Year Into Posts

Wordpress plugin

Install on Wordpress

App Details

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)
  • [tomorrow] Stands For Next Day Full Date e.g, (Today is September 30, 2023 it will show the October 01, 2023 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”.

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.
  • [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]’);

Compatibility

  • This plugin is compatible with WordPress versions 4.7 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 [email protected] or by visiting our support forum. We will do our best to assist you and resolve any issues you may have.

Pricing

Starting from $0 per month.

Check Out the Card Carousel Widget

By Common Ninja

Card CarouselTry For Free!

App Info

Rating

Reviewers

3 reviews

Tags

current year
current year shortcode
seo
shortcode
year

Developed By

NUMAN RASHEED

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Card Carousel for Wordpress logo

Card Carousel

Showcase content with a card carousel that combines images and text, improves visual design, and helps visitors explore key information.

Vimeo Slider for Wordpress logo

Vimeo Slider

Show Vimeo videos with a Vimeo slider that displays clips in a smooth slider to boost engagement and keep visitors watching.

Cookies Consent Bar for Wordpress logo

Cookies Consent Bar

Display a cookies consent bar that explains usage and supports GDPR compliance, enhancing user trust and legal clarity.

Instagram Feed for Wordpress logo

Instagram Feed

Show Instagram posts in a live feed that keeps content fresh, builds social proof, and helps visitors engage with your brand.

Bluesky Feed Slider for Wordpress logo

Bluesky Feed Slider

Show Bluesky posts with a Bluesky feed slider that scrolls updates and keeps content visible while keeping visitors engaged.

Slideshow for Wordpress logo

Slideshow

Present images in a Slideshow carousel that rotates or slides through visuals, helping you highlight key content within a clean, engaging layout.

Google Reviews for Wordpress logo

Google Reviews

Show verified customer feedback with Google Reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions.

Image Poll for Wordpress logo

Image Poll

Create interactive image polls that use compelling visuals to boost engagement, gather feedback, and help visitors vote easily.

Facebook Feed for Wordpress logo

Facebook Feed

Show Facebook posts in a live Facebook feed that keeps content fresh, boosts social proof, and helps visitors engage more with your brand.

Capterra Reviews for Wordpress logo

Capterra Reviews

Show Capterra reviews to build trust, strengthen credibility, and help visitors make confident software buying decisions that support higher sales.

Animated Headline for Wordpress logo

Animated Headline

Add animated headlines to draw attention to key messages and improve user engagement through visual emphasis.

Code Snippets for Wordpress logo

Code Snippets

Display clean code snippets with syntax highlighting to improve technical content and help developers scan examples quickly.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms