Entry Age


Chris Rasmussen

3rd Party (Free)

EE Version Support

  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



Returns a configurable warning message if the entry being viewed is older than a certain age.

Example 1, including HTML-formatted warning message:

{exp:entry_age unit="days" max_age="90" entry_date="{entry_date}"}
		   <section class="highlight">Warning: This article is older than 90 days and may contain inaccurate information.&nbsp;&nbsp;Please use the information below at your own risk.</section>


Example 2, using default warning message:

{exp:entry_age unit="days" max_age="90" entry_date="{entry_date}"}

Three parameters can be passed:

- ‘unit’ :

- pick one, based on your requirements.  This setting will default to ‘days’ if not specified.
- ‘max_age’ :

- The maximum age of the entry before the warning message will be shown.  This setting will default to 90 if not specified.  Ommiting this parameter may result in fairly useless data if used with anything other than ‘days’ above.

- ‘entry_date’ : Because this is my first plugin I’m yet to figure out how to get the current entry’s date inside the plugin, forcing me to require it as a parameter.  :(  For that reason, this parameter should only be ‘{entry_date}’ as shown above.

The text inside the {exp:entry_age}{/exp:entry_age} tag pairs is the text that will be displayed if the entry is older than the specified date.  Ommiting this parameter will display the default value set above, if the entry’s age does not meet requirements.

Entry Age Links

This entry was created September 6, 2011, 5:04 pm.
This entry was last updated September 6, 2011, 12:17 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!