BFCM Prep Sale
Get Flat 26% OFF - Limited-Time Offer
USE CODE: BFCMPREP
AFM Beta testing

Advanced File Manager Beta v6.0.0 Is Live

Get early access. Test new features before anyone else. Join the beta and help shape what ships next.


Get the download link on your email.

Email

Configuration Blocks

Estimated reading: 7 minutes 1584 views

Advanced File Manager Pro gives you full control over your WordPress site’s files, both on the back end and front end. You can upload, edit, archive, or preview media, manage user access with role-based permissions, and create private or public folders.

The plugin also supports cloud storage integrations (Dropbox, OneDrive, Google Drive) and provides frontend file management through Blocks or Gutenberg blocks. Additional interface options such as themes, view types, and large file handling make file management seamless and flexible.

This document walks you through creating a Block, configuring its settings, and implementing it on the front end to display or manage files directly on your website.

Make sure you have the Advanced File Manager Pro plugin installed and activated on your WordPress site. If you don’t have it yet, explore our plans to get started. If already purchased, follow the Installation and Activation Guide before proceeding.

To access and create Blocks in Advanced File Manager Pro:

  1. Go to your WordPress Dashboard.
configuring-blocks-1
  1. Navigate to File Manager > Blocks (Pro).
configuring-blocks-2
  1. Click on the “Create Block” button at the top-left corner.
configuring-blocks-3

Block Configuration:


You can now configure your Block by selecting your preferred settings from the available options.
All configured settings will directly affect how the File Manager behaves and appears on the front end of your site.

Let’s explore each Block setting, what it does, how it impacts the front end, and any limitations you should be aware of.

The Block Configuration is divided into two sections:

  • General Settings
  • User Role Settings

Block Title

Assign a unique name to identify your Block.

Limitation: Must be unique; duplicate titles may cause confusion or overwrite previous Blocks.

configuring-blocks-4

General Settings

Block Type

Select the type of Block from the dropdown. You can create 2 types of Blocks, namely:

Logged In Users: Exclusively for the users who have an account on your site & are logged in to your site either as Subscriber, Editor, Author, Contributor etc.

Non Logged In Users (Site visitors): For the users who don’t bear an account on your site & are visitors, random or usual.

Limitation: Even Logged In Users might not be able to view the front end if their user role is not allowed.

URL

From this configuration setting, users can create a custom URL for their File Manager, allowing personalized access to the file management interface. This is an optional field.

Hide Files:

In this section, users can specify which files they want to hide. Multiple files can be hidden by separating their names with commas.

Example: .htaccess, *.log

Hide Folders

Specify folders that should be hidden from users of this File Manager block.

Enter multiple folder names separated by commas to prevent selected directories from appearing in the File Manager.

configuring-blocks-5

Operations:

This is a mandatory field where users must select the operations they want to allow for specific users or user roles on the frontend. At least one operation must be selected. The available operations include:

  • Archive
  • Back
  • Copy
  • Cut
  • Download
  • Duplicate
  • Edit
  • Extract
  • Forward
  • Full Screen
  • Get File
  • Home
  • Info
  • Create Directory (Folder)
  • Create File
  • Net Mount
  • Net Unmount
  • Open
  • Open Directory (Folder)
  • Paste
  • Quick Look
  • Reload
  • Rename
  • Resize
  • Restore
  • Delete (Remove)
  • Search
  • Sort
  • Up
  • Upload
  • View

Select the operations you want users to have access to. This allows you to create a more controlled File Manager based on the user’s needs.

configuring-blocks-6

Block Users:

In this section, users can specify which users to block. The usernames should correspond to their respective user roles. Multiple users can be blocked by separating their names with commas. Once entered, the specified users will be blocked, and the blocking will apply based on their assigned user roles.

View Type:

In this section, users can select how the File Manager will be displayed on the frontend. The available display options are Grid and List. The UI will adapt based on the chosen view type, allowing users to control how the File Manager appears when using the shortcode.

Theme:

Multiple themes are available for the File Manager when using the shortcode. The options include Light, Dark, Mono, Bootstrap, Windows 10, and Grey themes.

Note: Some themes may vary depending on the plan you are using in Advanced File Manager.

Language

Users can select the preferred language from multiple available options. The File Manager interface will automatically translate its content into the chosen local language.

Date Format

This option allows users to set the date format while creating the shortcode. They can choose the format that suits their needs, such as Month–Date–Year or Date–Month–Year, and more.

Hide Path

This setting hides the breadcrumb path bar displayed at the top of the File Manager interface. It is purely a visual preference and offers Yes/No options.

Enable Trash

When enabled, deleted files are moved to the Trash folder instead of being permanently removed. This allows users to recover files whenever needed.

configuring-blocks-7

Height & Width

Users can customize the height and width of the File Manager displayed via blocks shortcode. The File Manager’s frontend appearance will adjust based on the values they set.

Note: The Width and Height values must be entered in px (pixels), such as 2000px. If no values are provided, the File Manager will automatically apply default dimensions.

Read Permission

When enabled, users can view and read files. If this permission is disabled, users will not be able to download or view any files. This setting controls read-only access for the selected users or user roles.

Write Permission

When enabled, users can create, edit, delete, and write files within the File Manager through the blocks. If disabled (set to false), the user will not be allowed to perform any write actions. This setting determines full file-editing capabilities.

configuring-blocks-8

UI Options:

Users can choose which interface elements should be displayed in the File Manager when using the shortcode. These options allow customizing the frontend view:

  • Toolbar: Shows action buttons
  • Tree: Displays the folder tree
  • Path: Shows the breadcrumb navigation
  • Stat: Displays file statistics

Users can enable or disable any of these elements based on their preferences.

Blocked Integrations

Use Blocked Integrations to prevent selected integrations from being available within this File Manager block.

This allows you to control which connected services or integrations users can interact with when using this particular block.

Maximum Upload Size:

Users can define the maximum file upload size for the File Manager. This works well with user role restrictions and allows different upload limits per setup.

Examples of valid values:

  • 10M → 10MB
  • 500K → 500KB
  • 500K → 500KB
  • 500K → 500KB

Mimetypes Allowed to Upload:


 Users can specify which file types (MIME types) are allowed for upload. Multiple MIME types can be added by separating them with commas.

Example:
 image/jpeg, image/png, application/pdf

Default: All file types are allowed unless restricted.

For additional MIME type reference, visit MIME Types Help.

configuring-blocks-9

Message Settings:

The Blocks include several message settings, each triggered at specific events on the frontend when the block is displayed on the website.

Login Message

This message appears on the frontend when a user must be logged in to access the File Manager.
Default: Please login to access file manager.

Unauthorized Access Message

This message is shown when a user attempts to access the File Manager without proper permissions.
 Default: Unauthorized Access.

Loading Message

This message is displayed while the File Manager block is loading on the frontend.
 Default: Loading, please wait…

configuring-blocks-10

Need help?

If you counter any issues or need further assistance, please don’t hesitate to contact our Support Team. Our experts are always ready to help and will work with you to resolve any problems promptly. We take pride in delivering reliable support and excellent customer service.

Share this Doc

Configuration Blocks

Or copy link

CONTENTS
Scroll to Top