Shortcode

Basic Shortcode Usage

[eeSFL]

Simply place this bit of shortcode in any Post, Page or Widget that you would like the plugin to appear.

Optional Attributes

You can use these shortcode attributes to override your main plugin settings. attributes can be combined to create very customized appearance and functionality.

Show or hide the File List. Options are YES, ADMIN, USER, or NO. (all caps)

[eeSFL showlist="USER"]

Show or hide the Uploader. Options are YES, ADMIN, USER, or NO. (all caps)

[eeSFL allowuploads="ADMIN"]

Show or hide the file thumbnail column. Options are YES or NO. (all caps)

[eeSFL showthumb="YES"]

Show or hide the file date column. Options are YES or NO. (all caps)

[eeSFL showdate="NO"]

Show or hide the file size column. Options are YES or NO. (all caps)

[eeSFL showsize="YES"]

Show or hide the table header. Options are YES or NO. (all caps)

[eeSFL showheader="NO"]

Show or hide the file actions links. Options are YES or NO. (all caps)

[eeSFL showactions="NO"]

Folder Support Shortcode (Add-On)

Specify the Folder. Folder Path from Main List (case-sensitive)

[eeSFL showfolder="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.

Be aware that if multiple lists appear on the same page, sub-folders will only appear within the first list.

10 thoughts on “Shortcode”

    • The easiest way to create complex shortcodes is to go to the Instructions tab in the plugin settings. Use the shortcode builder to pick-and-choose the options you need. Then you can copy-and-paste the code, or choose to create a new page/post using it.

    • Yes, you can make multiple lists if you add the folder extension. Each sub-folder can then be displayed wherever you like using the shortcode like so: [eeSFL showfolder="This-Folder"], or [eeSFL showfolder="This-Folder/This-Sub-Folder"]

      Items kept above the chosen folder are not accessible from the front-end of the site, so you can have both public and private files.

    • Hello. The Search & Pagination extension has not been released yet, but I hope to have it published this week. Look for an update to Simple File List soon.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.