This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
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.
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.
Step 3: After inserting the file extenstion name, save this shortcode.
Before:
You can see only filtered files are displayed on the frontend.
Here is the sample screenshot of the expected result.
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.