Download links
Show “PDF · 1.2 MB” beside each link.

Show the extension of a Media Library file, such as “PDF”, optionally with its size, such as “PDF · 1.2 MB”, for download links.
These are the actual published outputs of the widget for files from the Media Library.
Content sets the file source, the file, letters, dot, the wording with {ext} and {size}, text before and after, the empty text, the HTML tag and an icon. The Style tab covers typography, colours, surface, border, alignment, padding, radius and the icon.
Visitors want to know a download's type and size before they click, and hand-typed details go stale when files change. Attachment file extension shows “PDF” or “PDF · 1.2 MB” from the stored file, with the original upload's size, in capitals or small letters.
Show “PDF · 1.2 MB” beside each link.
Label files by type.
Show file details on attachment pages.
Start with Complementor installed and your license connected. Enable this module in the WordPress library, then configure it in Elementor.
Install Complementor, connect your license and enable Attachment file extension in the Complementor library.
Choose the file, or the featured image in a template.
Set the wording, such as {ext} · {size}.
Style it, for example as a pill next to a link.
Publish and check it on the live page.
Configure the settings available for this module to suit the page you are building.
Extension from the stored file.
File size with {size}.
Capitals or small letters.
Optional leading dot.
Featured image and attachment pages.
Skips files of private posts.
Compare the existing Elementor workflow with this Complementor module before choosing your setup.
Go stale when the file is replaced.
Says the kind in words; this shows the extension and size.
Complementor uses classic Elementor APIs. Atomic-native controls are not implemented. Check your theme, cache and integrations on a staging site before release.
Check these settings if the published page behaves differently from the editor.
The file could not be read and no size was saved; the extension is shown alone.
It is the original upload's size; WordPress also stores smaller copies.
No file is chosen, or it belongs to a draft or private post.
Yes. Choose small letters and turn on the dot.
No. It works with the free version of Elementor.
No. Files attached to drafts, private or password-protected posts are never shown on the live site.
It is rounded to one decimal place, as WordPress formats sizes.
Yes. It is ordinary text.
Yes. Choose the featured image of the current post, or the attachment page in media templates.
This module is included with all 1007 current Complementor solutions. Choose your production website allowance; every plan includes the same modules.
Renews at $29 USD each year.
Renews at $49 USD each year.
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.