Basic Shortcode Usage
Simply place this bit of shortcode in any Post, Page or Widget that you would like the file list to appear. Use the plugin’s settings tabs to define the overall look and functionality. Then use shortcodce attributes to over-ride these settings.
NOTE – Be sure to use the Shortcode Block or HTML code to add the shortcode snippet. Simply placing the shortcode within a paragraph may cause issues with some themes.
Attributes allow you to customize the look and functionality. The syntax is like this:
[eeSFL attribute="this" attribute="that"]
Showing a Specific Folder
Specify the Folder Path from Main List. (Pro Version Only)
If there are sub-folders in this location, users will be able to open them, but will not be able to go above the folder defined in the shortcode. So in this case, users cannot see anything in folder1, just what is in folder2 and below.
NOTE – Folder names are case-sensitive.
NOTE – You may place more than one folder on a single page using multiple shortcodes, but only the first list will allow file uploading, folder display and front-end management.
File Access Manager (Pro Extension)
Define the file list to be displayed. You can also specify a folder location and use the other optional attributes shown below.
Search and Pagination (Pro Extension)
Show or hide the search form. Options are YES or NO. (all caps) Use these attributes in addition to others shown above.
Enable or disable pagination. Options are YES or NO. (all caps)
Define the number of files shown per page.
Place a file list search form anywhere on your website. Use the permalink for the page where your file list to be searched is located. Note the code is eeSFLS for this instance.
Multi-Location List Customization
NOTE – These attributes are only needed when you have the same file list displayed in more than one place.
You can use these shortcode attributes to override the main list settings to customize the list for secondary locations.
The File List
Show or hide the File List. Options are YES, ADMIN, USER, or NO
Select the file list style to be displayed. Options are TABLE, TILES and FLEX
Select the color theme to be displayed. Options are LIGHT, DARK, or NONE
Show or hide the file thumbnail. Options are YES or NO
Show or hide the file date. Options are YES or NO
Show or hide the file size. Options are YES or NO
Show or hide the table style header. Options are YES or NO
Show or hide the file actions links. Options are YES or NO
Specify a sort order for the file list.
Sort By Options are Name, Date, DateMod, Size, or Random
Sort Order Options are Descending or Ascending
NOTE – Using the “sortby” or “sortorder” attributes will slow file list load times because the plugin must process the entire file list array upon each file list page load.
[eeSFL sortby="Name" sortorder="Ascending"]
Allow Front-End Management. Options are YES or NO
[eeSFL frontmanage="YES" ]
Show or hide the upload form Options are YES, ADMIN, USER, or NO
Show or hide the upload description form input. Options are YES or NO
Show or Hide the Name and Email upload form inputs. Options are YES or NO
NOTE – If this option is enabled and the user is logged in, these inputs will not appear. The user info will be pulled from the database.
SIMPLE FILE LIST PRO