Using the Shortcode
Basic Shortcode Usage
[[eeSFL]]
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.
Shortcode Attributes
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)
[[eeSFL folder="folder1/folder2"]]
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.
[[eeSFL list="8"]]
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.
[[eeSFL search="NO"]]
Enable or disable pagination. Options are YES or NO. (all caps)
[[eeSFL paged="NO"]]
Define the number of files shown per page.
[[eeSFL filecount="25"]]
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.
[[eeSFLS permalink="http://website.com/your-file-list-page/"]]
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
[[eeSFL showlist="USER"]]
Select the file list style to be displayed. Options are TABLE, TILES and FLEX
[[eeSFL style="TILES"]]
Select the color theme to be displayed. Options are LIGHT, DARK, or NONE
[[eeSFL theme="DARK"]]
Show or hide the file thumbnail. Options are YES or NO
[[eeSFL showthumb="YES"]]
Show or hide the file date. Options are YES or NO
[[eeSFL showdate="NO"]]
Show or hide the file size. Options are YES or NO
[[eeSFL showsize="YES"]]
Show or hide the table style header. Options are YES or NO
[[eeSFL showheader="NO"]]
Show or hide the file actions links. Options are YES or NO
[[eeSFL showactions="NO"]]
Specify a sort order for the file list.
Sort By Options are Name, Added, Changed, 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" ]]
File Uploading
Show or hide the upload form Options are YES, ADMIN, USER, or NO
[[eeSFL allowuploads="YES"]]
Show or hide the upload description form input. Options are YES or NO
[[eeSFL getdesc="YES"]]
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.
[[eeSFL getinfo="YES"]]
ORDER NOW
SIMPLE FILE LIST PRO
Last updated
Historical comments (88)
Comments are closed. The discussion below is retained for historical reference.