If you regularly upload different file types, consider displaying an icon next to the link. This way, your users can easily find the file type they are looking for.
The easiest way to add icons for file types is to use a WordPress plugin like MimeTypes Link Icons. It is a free plugin that is very easy to use and allows you to add icons for different file types.
The first thing you need to do is install and activate the MimeTypes Link Icons plugin. For more details, see our step-by-step guide on how to install a WordPress plugin .
The plugin download page may say that it hasn't list of find your cell phone number been tested or updated in a while. We've tested it on our sites and found it to work as intended. Please read our article about installing plugins that aren't tested with your WordPress version .
After activation, you need to visit the Settings » MimeType Symbols page to configure the plugin settings.
Mimetype general settings
The plugin allows you to set the size of the icon as well as the choice between PNG and GIF icons. Next, you need to select the icon orientation and the file types that the icon should display.
After that, you can scroll down and select icons that you want to display on your website. For example, there are icons for file types like PDF, PPT, CSV, AVI, RPM, TXT and more.
Select file type icons
Next, you can scroll down to the Advanced Settings section.
Here you will find the option to display the file size next to the download link. It is turned off by default as it could be resource intensive.
So let’s see how to add file attachment icons for different file types in WordPress
-
- Posts: 700
- Joined: Sat Dec 21, 2024 5:33 am