Complementor/Attachment media type
Content / widget · Elementor module

Attachment Media Type Widget Plugin for Elementor

Show what kind of file a Media Library item is, in words such as “PDF document” or “JPEG image”, as a general kind such as “Video”, or as the MIME type.

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

Try it

These are the actual published outputs of the widget for files from the Media Library.

02 / Inside WordPress

Attachment media type controls in Elementor

Content sets the file source, the file, what to show, 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.

03 / Website use cases

Where to use attachment media type

Download lists should tell visitors what they are getting before they click, and “application/vnd.openxmlformats-officedocument.wordprocessingml.document” helps no one. Attachment media type says “Word document”, “PDF document” or “MP4 video”, or a general kind such as “Video”, in the site's language.

01

Download lists

Label each file before visitors click.

02

Resource libraries

Show badges such as Document or Video.

03

Technical pages

Show the exact MIME type.

04 / Installation and setup

How to add an attachment media type 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 media type in the Complementor library.

  2. Choose the file, or the featured image in a template.

  3. Choose kind of file, general kind or MIME type.

  4. Style it, for example as a badge.

  5. Publish and check it on the live page.

05 / Content and style controls

Customize attachment media type in Elementor

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

  • Plain words for common file types.

  • General kind such as Video or Document.

  • Exact MIME type too.

  • Featured image and attachment pages.

  • Translatable wording.

  • Skips files of private posts.

06 / Choose the right approach

Attachment media type and Elementor alternatives

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

Typed labels

Go wrong when a file is replaced.

File icons

Show a picture but not the type in words.

07 / Requirements and compatibility

Attachment media type compatibility with Elementor

WordPress 6.5+PHP 8.0+Elementor 3.25+
  • Requires Elementor; works without WooCommerce.
  • Describes the stored type; it does not inspect files.
  • 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 media type

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

Why does it say “XYZ file”?

The type is not in the built-in list, so the extension is used.

Why is nothing shown?

No file is chosen, or it belongs to a draft or private post.

Can I change the wording?

Yes, through translation, or use the general kind or MIME type.

Where does the general kind come from?

From WordPress's own extension groups.

09 / Frequently asked questions

Attachment media type plugin questions

Does it need Elementor Pro?

No. It works with the free version of Elementor.

Can it reveal private files?

No. Files attached to drafts, private or password-protected posts are never shown on the live site.

Does it check the file's contents?

No. It uses the type WordPress stored when the file was uploaded.

Is it accessible?

Yes. It is ordinary text.

Does it work in post templates?

Yes. Choose the featured image of the current post, or the attachment page in media templates.

10 / Annual All Access subscription

Get attachment media type 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.