Add Search & Pagination

The Search & Pagination extension adds searching and pagination functionality to Simple File List Pro. It is designed to make finding what you need and navigating through large file lists much easier.

Search

A search box will appear above your file list. The file search can be based on name and/or a date range, if the date column is displayed as shown here.

Name searches also search the item’s nice name, description and submitter info.

The use of wildcards is also supported. For example: .jp*g would find both jpg and jpeg files.

Try the Demo | Buy Now


Search Form Only

If you want to display the search form without the list, you can place this shortcode on any page, post or widget. Example:

[[eeSFLS permalink='https://website.com/file-list-page/']]

When the user clicks the Search button, the page defined by the permalink attribute is searched as it is loaded.


Pagination

Pagination controls will appear below the list, plus a total count of the pages. You define the size of each sub-page in the main plugin’s settings.


Settings

The extension adds five new options. To access these, go to the List Settings > Extension Settings tab.

Enable Search
Show or hide the search panel.

Search By
Show Search Inputs for Text, Date or Both.

Search by Date Type
Search by file date modified or date added to the list.

Enable Pagination
Organize the file list into smaller pages.

Choose Page Size
Choose how many files to show per page.

NOTE – Use shortcode attributes to customize these settings for secondary list locations.


Try the Demo | Buy Now

18 thoughts on “Add Search & Pagination”

    • On the back-end it will search the entire list. On the front-end it will only search the folder defined in the shortcode and sub-folders of that.

      Reply
  1. Good day. I had the Search Extension and when I first used it it worked well. It stopped working a while back and said to update (which I always keep plugins updated). So I recently deleted the extension to try to reinstall hoping it would fix it. I cannot find where I can download the extension file again without paying for it again. Please help me out. Thanks!

    Reply
  2. Bonjour à tous,

    je recherche la solution qui me permet d afficher les contenu de mon serveur web (FTP) avec simple file list pro. le format de fichier à afficher peu etre en mht ou xml.

    Reply
    • I am looking for the solution that allows me to display the contents of my web server (FTP) with simple file list pro. the file format to display can be in mht or xml.

      Sorry, I am not understanding you. Simple File List can list most any file types as long as they are located within your WordPress directory. It cannot list files outside of this location.

      Désolé, je ne vous comprends pas. La liste de fichiers simple peut répertorier la plupart des types de fichiers tant qu’ils se trouvent dans votre répertoire WordPress. Il ne peut pas répertorier les fichiers en dehors de cet emplacement.

      Reply
  3. Hey, is there a way to choose a list and only show the most three recent files in a list ONLY. That way it will only show the most up-to-date files in this list and not require pagination as time goes on.
    I have already tried turning search of and pagination off with max 1 per page but it reverts to default.

    Reply
  4. Will you ever add file content search which is what is really needed – or do you have an alternative solution for searching contents of files in FLP

    Reply
    • Unlikely, as this would be extremely difficult to do on a web server, both technically and performance-wise. We’d need to be able to read the contents of the files, then store them in the database for searching. Reading text based files is easy, but PDFs are harder and other proprietary file types, like MS Office docs, may not be readable at all. But even if we could read all of the file content into the database, each file would need to be re-read for each file re-scan to ensure the content is accurate. This would take a long time and require a lot of memory. I doubt most shared hosting accounts could handle it.

      I’d recommend using the description field to store content keywords that users would be searching for. Descriptions are part of the search.

      Reply
    • No, but you could use folders to categorize files, then use the search to find those. However, Simple File List does not use WordPress post categories.

      Reply

Leave a Comment

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