AADMY – Add Auto Date Month Year Into Posts

AADMY – Add Auto Date Month Year Into Posts Install Statistics

-1
91.67%
Today: 11 Yesterday: 12 All-time: 3,035 downloads
AADMY – Add Auto Date Month Year Into Posts Icon

Try plugin: AADMY – Add Auto Date Month Year Into Posts

We'll create fresh WordPress site with AADMY – Add Auto Date Month Year Into Posts installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About AADMY – Add Auto Date Month Year Into Posts

This WordPress plugin allows you to dynamically add current dates, years, months, and other time-related elements to your content.

3


0


0


0


0

updated: 10 months ago
since: 1 year ago
author: Numan Rasheed

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