Basic Shortcode Usage


Simply place this bit of shortcode in any Post, Page or Widget that you would like the plugin to appear. Use the settings tabs to define the overall look and functionality.

Shortcode Attributes

Attributes allow you to customize the look and functionality.

Showing a Specific Folder (PRO VERSION)

Specify the Folder Path from Main List

[eeSFL showfolder="folder1/folder2"] (case-sensitive)

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.

Optional Attributes

These attributes are used 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 the location.

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"]

Specify a sort order for the file list

[eeSFL sortby="Name, Date, Size, or Random" sortorder="Descending or Ascending"]

File Access Manager(Pro Extension)

Define the file list to be displayed

[eeSFL list="8"]

Search and Pagination (Pro Extension)

Show or hide the search form. Options are YES or NO. (all caps)

[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=""]

36 thoughts on “Shortcode”

  1. Hi, can I control who sees what files when using the file search?

    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=""]

  2. Hi, can you have more than one folder in shortcodes? [eeSFL showfolder="74466/D001008" showfolder="D001247"] or [eeSFL showfolder="74466/D001008, D001247"] ??

    Thank you

    • You cannot use the shortcode to define more than one folder location, but you can use more than one shortcode on the page…

      [eeSFL showfolder="74466/D001008"]

      [eeSFL showfolder="D001247"]

      Just be aware that some functionality, like uploading and front-side manage, will only work for the first list.

  3. Hello, thank you for your plugin. I purchased the Pro version. I would like to have shortcode to allow Edit or Move. In other words, be able to turn on and off the Front-Side Manage setting on a page. It appears it is a global setting under “Display Settings”, but I would like to turn it on or off depending on the page.

  4. I’d like to be able to create shortcodes that allow specific roles or capabilities to upload files. Is this possible?
    For example, I have a number of folders that I want different users to maintain; one for bike route maps, another for newsletters and another for meeting minutes. Each of the users for the different folders has a different role (e.g.,, map_manager, newsletter_editor, secretary) and I also want Editors and the Administrator to have the ability to upload files to each of these folders. In other words, for “maps” I want map_manager capability AND Editor AND Administrator to be able to upload files to the “maps” folder.

    Thank you

    • This is not possible currently. However, I am working on a File Access Manager extension that would do most of what you describe, except for the combination of built-in and custom roles you describe for your maps folder. List access would be defined either by a minimum role for built-in roles, or matched roles for custom roles.

    • Hello, how do I use filters?

      There are two action hooks available:
      Existem dois ganchos de ação disponíveis:

      eeSFL_UploadCompleted and eeSFL_UploadCompletedAdmin

      These fire after a successful upload job.
      Eles são acionados após um trabalho de upload bem-sucedido.

  5. Hi Mitch,
    I have the folder extension with one folder hidden behind a front-end page with a password. Is it possible to delete files on the front-end by setting an option with a shortcode. I can see why you wouldn’t want a delete option on an open access front-end page but maybe not if it is limited to trusted users.

    • Yes, go to the Display Settings tab and tick the Front-Side Manage box. It’s all the way at the bottom. This will give the same file controls on the front-side as you see on the back.

  6. Ciao Mitch ho installato la versione 4, ho insetrito nei files degli elenchi la descrizione, ma le descrizioni non appaiono sui motori di ricerca.
    Devo attivare qualcosa?

    • Which search engine do you refer to? The WordPress search will not see the description. Google will include them if you show them on your site. This will take time though.

      A quale motore di ricerca ti riferisci? La ricerca di WordPress non vedrà la descrizione. Google li includerà se li mostri sul tuo sito. Ci vorrà del tempo però.

  7. The instructions all over the web regarding your Simple File List is highly deficient and confusing regarding the following points:
    1. Which the base folder for the files to display for downloading? Nowhere is this information given.
    2. Can we implement more than one instance of Simple File List?
    3. What are the above parameters for the multi-folder version?

    • I apologize for the highly deficient instructions.

      1. The base folder is wp-content/uploads/simplefilelist/, but you can change this to any directory which is below your WordPress home folder.
      2. Using the Folder Extension, you can place multiple lists on your website.
      3. There are no further parameters when using folders. Each folder you create will be within the main folder.
    • If you add the Search & Pagination extension, you can show just the ten most recent files per page. Alternatively, the folder extension would allow you to put just the ten files needed on a specific page.

    • Once the extension plugin is installed and activated, go to the file list on the main plugin’s settings page. At the top you will see a Create Folder input. Once you create your first folder, you will see the rename and delete options.

  8. Hi Mitch i purchased your plugin addon for folder management, could i add some tags to file searhable on search engines?
    Thank you .

    • 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.