Exciting News! Flipper Code is now WePlugins! Same commitment to excellence, brand new identity.

How to Filter Listing by File Extension

Sandeep Kumar Mishra
Sandeep Kumar Mishra
January 18, 2020
5 minutes read

In this plugin, You can display your storage files on the frontend, also you can display certain files or folders using ‘Include Files & Folder’ Options.

Filter Listing By File Extension

Step 1: Go to the dashboard and click on the ‘WP Display Files –> Manage Shortcodes’ page.

Step 2: Edit your created shortcode and navigate to the “Apply Filters” tab.

Apply Filters

Step 3: In this tab go to the “Filter Files By Extension” textbox enter the file extension name & comma-separated if multiple extensions you want to insert in the field.

Filter File by Extension

Step 3: After inserting the file extension name, save this shortcode.

Before:
Display File Listing Before

You can see only filtered files are displayed on the frontend.

Here is the sample screenshot of the expected result.

After:
Display File Listing After

Explore the latest in WordPress

Trying to stay on top of it all? Get the best tools, resources and inspiration sent to your inbox every Wednesday.