{"id":89,"date":"2019-04-24T15:30:23","date_gmt":"2019-04-24T20:30:23","guid":{"rendered":"https:\/\/simplefilelist.com\/?p=89"},"modified":"2024-10-07T13:43:23","modified_gmt":"2024-10-07T18:43:23","slug":"shortcode","status":"publish","type":"post","link":"https:\/\/simplefilelist.com\/shortcode\/","title":{"rendered":"Shortcode"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Basic Shortcode Usage<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL]<\/pre>\n\n\n\n<p>Simply place this bit of <a href=\"https:\/\/codex.wordpress.org\/Shortcode_API\">shortcode<\/a> in any Post, Page or Widget that you would like the file list to appear. Use the plugin&#8217;s settings tabs to define the overall look and functionality. Then use shortcodce attributes to over-ride these settings.<\/p>\n\n\n\n<p><em><em>NOTE<\/em> &#8211; Be sure to use the <a href=\"https:\/\/wordpress.com\/support\/wordpress-editor\/blocks\/shortcode-block\/\">Shortcode Block<\/a> or HTML code to add the shortcode snippet. Simply placing the shortcode within a paragraph may cause issues with some themes.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Shortcode Attributes<\/h3>\n\n\n\n<p>Attributes allow you to customize the look and functionality. The syntax is like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL attribute=\"this\" attribute=\"that\"]<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Showing a Specific Folder<\/h3>\n\n\n\n<p>Specify the Folder Path from Main List. (<a href=\"https:\/\/get.simplefilelist.com\/index.php?eeExtension=ee-simple-file-list-pro\">Pro Version Only<\/a>)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL folder=\"folder1\/folder2\"]<\/pre>\n\n\n\n<p>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. <\/p>\n\n\n\n<p><em>NOTE &#8211; Folder names are case-sensitive.<\/em><\/p>\n\n\n\n<p><em>NOTE &#8211; You may place <a href=\"https:\/\/demo.simplefilelist.com\/show-multiple-folders-on-a-single-page\/\">more than one folder on a single page<\/a> using multiple shortcodes, but only the first list will allow file uploading, folder display and front-end management.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">File Access Manager (<a href=\"https:\/\/get.simplefilelist.com\/index.php?eeExtension=ee-simple-file-list-pro\">Pro Extension<\/a>)<\/h2>\n\n\n\n<p>Define the file list to be displayed. You can also specify a folder location and use the other optional attributes shown below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL list=\"8\"]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Search and Pagination (<a href=\"https:\/\/get.simplefilelist.com\/index.php?eeExtension=ee-simple-file-list-pro\">Pro Extension<\/a>)<\/h2>\n\n\n\n<p>Show or hide the search form. Options are YES or NO. (all caps) Use these attributes in addition to others shown above.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL search=\"NO\"]<\/pre>\n\n\n\n<p>Enable or disable pagination. Options are YES or NO. (all caps)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL paged=\"NO\"]<\/pre>\n\n\n\n<p>Define the number of files shown per page. <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL filecount=\"25\"]<\/pre>\n\n\n\n<p>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 <em>eeSFL<strong>S<\/strong><\/em> for this instance.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFLS permalink=\"http:\/\/website.com\/your-file-list-page\/\"]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Multi-Location List Customization<\/h2>\n\n\n\n<p class=\"has-text-align-left\"><em>NOTE &#8211; These attributes are only needed when you have the same file list displayed in more than one place.<\/em><\/p>\n\n\n\n<p>You can use these shortcode attributes to <strong>override the main list settings<\/strong> to customize the list for secondary locations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The File List<\/h2>\n\n\n\n<p>Show or hide the File List. Options are YES, ADMIN, USER, or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL showlist=\"USER\"]<\/pre>\n\n\n\n<p>Select the file list style to be displayed. Options are TABLE, TILES and FLEX<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL style=\"TILES\"]<\/pre>\n\n\n\n<p>Select the color theme to be displayed. Options are LIGHT, DARK, or NONE<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL theme=\"DARK\"]<\/pre>\n\n\n\n<p>Show or hide the file thumbnail. Options are YES or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL showthumb=\"YES\"]<\/pre>\n\n\n\n<p>Show or hide the file date. Options are YES or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL showdate=\"NO\"]<\/pre>\n\n\n\n<p>Show or hide the file size. Options are YES or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL showsize=\"YES\"]<\/pre>\n\n\n\n<p>Show or hide the table style header. Options are YES or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL showheader=\"NO\"]<\/pre>\n\n\n\n<p>Show or hide the file actions links. Options are YES or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL showactions=\"NO\"]<\/pre>\n\n\n\n<p>Specify a sort order for the file list.<\/p>\n\n\n\n<p>Sort By Options are <strong>Name, Added, Changed, Size, or Random<\/strong><br>Sort Order Options are <strong>Descending or Ascending<\/strong><\/p>\n\n\n\n<p><em>NOTE &#8211; Using the &#8220;sortby&#8221; or &#8220;sortorder&#8221; attributes will slow file list load times because the plugin must process the entire file list array upon each file list page load.<\/em><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> [eeSFL sortby=\"Name\" sortorder=\"Ascending\"]<\/pre>\n\n\n\n<p>Allow Front-End Management. Options are YES or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> [eeSFL frontmanage=\"YES\" ]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">File Uploading<\/h2>\n\n\n\n<p>Show or hide the upload form Options are YES, ADMIN, USER, or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL allowuploads=\"YES\"]<\/pre>\n\n\n\n<p>Show or hide the upload description form input. Options are YES or NO<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL getdesc=\"YES\"]<\/pre>\n\n\n\n<p>Show or Hide the Name and Email upload form inputs. Options are YES or NO<\/p>\n\n\n\n<p><em>NOTE &#8211; 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.<\/em><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[eeSFL getinfo=\"YES\"]<\/pre>\n\n\n\n<p class=\"has-text-align-center\"><br><strong>ORDER NOW<\/strong><br><strong><a href=\"https:\/\/get.simplefilelist.com\/index.php?eeExtension=ee-simple-file-list-pro\">SIMPLE FILE LIST PRO<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A description of how to use the shortcode to place a file list on a post, page or widget.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-docs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shortcode - Simple File List<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/simplefilelist.com\/shortcode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shortcode - Simple File List\" \/>\n<meta property=\"og:description\" content=\"A description of how to use the shortcode to place a file list on a post, page or widget.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/simplefilelist.com\/shortcode\/\" \/>\n<meta property=\"og:site_name\" content=\"Simple File List\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-24T20:30:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-07T18:43:23+00:00\" \/>\n<meta name=\"author\" content=\"Mitch\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mitch\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/\"},\"author\":{\"name\":\"Mitch\",\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/#\\\/schema\\\/person\\\/dc9f2b14bc94d3a7511ea60d8d0e43e7\"},\"headline\":\"Shortcode\",\"datePublished\":\"2019-04-24T20:30:23+00:00\",\"dateModified\":\"2024-10-07T18:43:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/\"},\"wordCount\":574,\"commentCount\":86,\"publisher\":{\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/#\\\/schema\\\/person\\\/dc9f2b14bc94d3a7511ea60d8d0e43e7\"},\"articleSection\":[\"Documentation\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/\",\"url\":\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/\",\"name\":\"Shortcode - Simple File List\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/#website\"},\"datePublished\":\"2019-04-24T20:30:23+00:00\",\"dateModified\":\"2024-10-07T18:43:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/shortcode\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/simplefilelist.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shortcode\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/#website\",\"url\":\"https:\\\/\\\/simplefilelist.com\\\/\",\"name\":\"Simple File List\",\"description\":\"WordPress Plugin | Show a List of Files on Your Website\",\"publisher\":{\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/#\\\/schema\\\/person\\\/dc9f2b14bc94d3a7511ea60d8d0e43e7\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/simplefilelist.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/#\\\/schema\\\/person\\\/dc9f2b14bc94d3a7511ea60d8d0e43e7\",\"name\":\"Mitch\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/cropped-icon-128x128-1.png\",\"url\":\"https:\\\/\\\/simplefilelist.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/cropped-icon-128x128-1.png\",\"contentUrl\":\"https:\\\/\\\/simplefilelist.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/cropped-icon-128x128-1.png\",\"width\":128,\"height\":128,\"caption\":\"Mitch\"},\"logo\":{\"@id\":\"https:\\\/\\\/simplefilelist.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/cropped-icon-128x128-1.png\"},\"description\":\"Wordpress theme and plugin developer.\",\"sameAs\":[\"https:\\\/\\\/simplefilelist.com\\\/about-the-author\\\/\"],\"url\":\"https:\\\/\\\/simplefilelist.com\\\/author\\\/eesfl\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shortcode - Simple File List","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/simplefilelist.com\/shortcode\/","og_locale":"en_US","og_type":"article","og_title":"Shortcode - Simple File List","og_description":"A description of how to use the shortcode to place a file list on a post, page or widget.","og_url":"https:\/\/simplefilelist.com\/shortcode\/","og_site_name":"Simple File List","article_published_time":"2019-04-24T20:30:23+00:00","article_modified_time":"2024-10-07T18:43:23+00:00","author":"Mitch","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mitch","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/simplefilelist.com\/shortcode\/#article","isPartOf":{"@id":"https:\/\/simplefilelist.com\/shortcode\/"},"author":{"name":"Mitch","@id":"https:\/\/simplefilelist.com\/#\/schema\/person\/dc9f2b14bc94d3a7511ea60d8d0e43e7"},"headline":"Shortcode","datePublished":"2019-04-24T20:30:23+00:00","dateModified":"2024-10-07T18:43:23+00:00","mainEntityOfPage":{"@id":"https:\/\/simplefilelist.com\/shortcode\/"},"wordCount":574,"commentCount":86,"publisher":{"@id":"https:\/\/simplefilelist.com\/#\/schema\/person\/dc9f2b14bc94d3a7511ea60d8d0e43e7"},"articleSection":["Documentation"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/simplefilelist.com\/shortcode\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/simplefilelist.com\/shortcode\/","url":"https:\/\/simplefilelist.com\/shortcode\/","name":"Shortcode - Simple File List","isPartOf":{"@id":"https:\/\/simplefilelist.com\/#website"},"datePublished":"2019-04-24T20:30:23+00:00","dateModified":"2024-10-07T18:43:23+00:00","breadcrumb":{"@id":"https:\/\/simplefilelist.com\/shortcode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/simplefilelist.com\/shortcode\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/simplefilelist.com\/shortcode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/simplefilelist.com\/"},{"@type":"ListItem","position":2,"name":"Shortcode"}]},{"@type":"WebSite","@id":"https:\/\/simplefilelist.com\/#website","url":"https:\/\/simplefilelist.com\/","name":"Simple File List","description":"WordPress Plugin | Show a List of Files on Your Website","publisher":{"@id":"https:\/\/simplefilelist.com\/#\/schema\/person\/dc9f2b14bc94d3a7511ea60d8d0e43e7"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simplefilelist.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/simplefilelist.com\/#\/schema\/person\/dc9f2b14bc94d3a7511ea60d8d0e43e7","name":"Mitch","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/simplefilelist.com\/wp-content\/uploads\/2021\/05\/cropped-icon-128x128-1.png","url":"https:\/\/simplefilelist.com\/wp-content\/uploads\/2021\/05\/cropped-icon-128x128-1.png","contentUrl":"https:\/\/simplefilelist.com\/wp-content\/uploads\/2021\/05\/cropped-icon-128x128-1.png","width":128,"height":128,"caption":"Mitch"},"logo":{"@id":"https:\/\/simplefilelist.com\/wp-content\/uploads\/2021\/05\/cropped-icon-128x128-1.png"},"description":"Wordpress theme and plugin developer.","sameAs":["https:\/\/simplefilelist.com\/about-the-author\/"],"url":"https:\/\/simplefilelist.com\/author\/eesfl\/"}]}},"_links":{"self":[{"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":4,"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/posts\/89\/revisions"}],"predecessor-version":[{"id":4468,"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/posts\/89\/revisions\/4468"}],"wp:attachment":[{"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/categories?post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simplefilelist.com\/wp-json\/wp\/v2\/tags?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}