Complementor/Attachment date
Content / widget · Elementor module

Attachment Date Widget Plugin for Elementor

Show when a Media Library file was uploaded, last changed or, for photos, taken, as a <time> element, for a chosen file, the current post's featured image or the attachment page being viewed.

Included in All AccessClassic Elementor widgetFrom $29 USD / year
Complementor / Attachment dateProduct preview
Text, style and layout controls inside Elementor
01 / Interactive demonstration

Try it

These are the actual published outputs of the widget.

02 / Inside WordPress

Attachment date controls in Elementor

Content sets the file source, the file, which date, the fallback, the format, text before and after, the text with no date, the HTML tag and an icon. The Style tab covers typography, colours, surface, border, alignment, padding, radius and the icon.

03 / Website use cases

Where to use attachment date

Photographers, archives and news sites want to show when a photo was taken or added, but WordPress only shows dates for posts. Attachment date shows the upload, last changed or camera date of any Media Library file, the featured image or the attachment page, in the site format, a custom format or as time ago, inside a machine-readable <time> element.

01

Photography

Show when each photo was taken.

02

News archives

Show when an image was added or updated.

03

Attachment pages

Add the date to media templates.

04 / Installation and setup

How to add an attachment date in Elementor

Start with Complementor installed and your license connected. Enable this module in the WordPress library, then configure it in Elementor.

  1. Install Complementor, connect your license and enable Attachment date in the Complementor library.

  2. Choose a file, the featured image or the attachment page.

  3. Choose uploaded, last changed or taken.

  4. Choose the format and style it.

  5. Publish and check it on the live page.

05 / Content and style controls

Customize attachment date in Elementor

Configure the settings available for this module to suit the page you are building.

  • Uploaded, last changed or taken.

  • Camera date from EXIF data.

  • Site, custom or time ago format.

  • Featured image or attachment page.

  • Machine-readable <time> element.

  • Skips files on private posts.

06 / Choose the right approach

Attachment date and Elementor alternatives

Compare the existing Elementor workflow with this Complementor module before choosing your setup.

Post date widgets

Show the post's date, not the photo's.

Typed captions

Have to be written by hand for every image.

07 / Requirements and compatibility

Attachment date compatibility with Elementor

WordPress 6.5+PHP 8.0+Elementor 3.25+
  • Requires Elementor; works without WooCommerce.
  • Shows media dates only; it does not edit them.
  • Full-page caches keep the value until they are refreshed.

Complementor uses classic Elementor APIs. Atomic-native controls are not implemented. Check your theme, cache and integrations on a staging site before release.

08 / Common setup problems

Troubleshoot attachment date

Check these settings if the published page behaves differently from the editor.

Why is the date taken the upload date?

The photo has no camera date; many edited or downloaded images have none. Switch off the fallback to hide it.

Why is nothing shown?

The file is attached to a draft or private post, or no file is chosen; the editor shows a hint.

Why does the taken time look an hour off?

Cameras record local time without a time zone; it is shown as the camera recorded it.

Which format characters can I use?

PHP date characters, as in Settings > General, such as j F Y.

09 / Frequently asked questions

Attachment date plugin questions

Does it need Elementor Pro?

No. It works with the free version of Elementor.

Where does the date taken come from?

From the photo's EXIF data, which WordPress reads when the image is uploaded.

Does it work for PDFs and videos?

Yes for uploaded and last changed; only photos have a date taken.

Is it accessible?

Yes. It is text inside a <time> element with a machine-readable date.

Is the value saved into the page?

No. It is read live each time the page is built, so it stays up to date.

10 / Annual All Access subscription

Get attachment date with Complementor

This module is included with all 1007 current Complementor solutions. Choose your production website allowance; every plan includes the same modules.

All Access · 1 site

One website

$29USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 1 site ↗

Renews at $29 USD each year.

All Access · 5 sites

A few websites

$49USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 5 sites ↗

Renews at $49 USD each year.

All Access · 25 sites

More websites

$99USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 25 sites ↗

Renews at $99 USD each year.

Applicable taxes extra. Annual subscriptions renew automatically unless canceled in your customer account. Elementor Pro is required for Exclude current post. Read the terms and 14-day technical-issue refund policy.