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

How to Exclude Files from Frontend Listing

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

In this plugin, You may exclude some files & display all files & folders on the frontend, except excluded files, You can exclude certain files or folder using ‘Exclude Files & Folder’ Options.

Exclude Files & Folder from the frontend

Step 1: Navigate to 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 “Exclude Files & Folder” field enter file extension name and enter comma separated multiple extensions if you want to exclude multiple file type extensions.

Exclude Files/Folder

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

Before:
Exclude Filter Before

You can see only filtered files are displayed on the frontend.
Here is the sample screenshot of the expected result.

After:
Exclude Filter 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.