Exciting News! Flipper Code is now WePlugins! Same commitment to WordPress Development 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 WP DISPLAY FILES plugin, you can exclude certain files and display all other files and folders on the frontend. This is done using the ‘Exclude Files & Folders’ options.

Exclude Files & Folders from the Frontend

    1. Step 1: Navigate to the ‘WP Display Files –> Manage Shortcodes’ page.
    2. Step 2: Edit your created shortcode and navigate to the “Include / Exclude Specific Files & Folders” tab.
      Apply Filters Tab
    3. Step 3: In this tab, go to the “Exclude Files & Folders” field. Enter the file extension names you wish to exclude, separating multiple extensions with commas.
      Exclude Files and Folders
    4. Step 4: After entering the file extension names, save this shortcode.
      Before:

      Before Filter

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

      Here is the sample screenshot of the expected result.
      After :

      After Filter

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.