Shortcodes

(under construction)

How to define the order of the files for each shortcode:

(choose one value from the list separated by "|")

[shared_files order_by="post_date|_sf_main_date|title" order="ASC|DESC"]

[shared_files_search order_by="post_date|_sf_main_date|title" order="ASC|DESC"]

[shared_files_categories order_by="post_date|_sf_main_date|title" order="ASC|DESC"]

Available views for listing files:

  • List all the files:


    Insert the shortcode [shared_files] to the content editor of any page you wish the file list to appear. If there are more than one category, a dropdown of categories will appear above the file list.
    • Using the parameter hide_search you may hide the search form like so: [shared_files hide_search=1]
    • More parameters: Pro
      • Hide file description: [shared_files hide_description=1]
      • Hide category dropdown: [shared_files hide_category_dropdown=1]
      • Layout as "2 cards on the same row": [shared_files layout=2-cards-on-the-same-row]
      • Layout as "3 cards on the same row": [shared_files layout=3-cards-on-the-same-row]
      • Layout as "4 cards on the same row": [shared_files layout=4-cards-on-the-same-row]
      • You can also use multiple parameters: [shared_files layout=2-cards-on-the-same-row hide_description=1]
  • Search form only that targets all the files, sorted by category

    Pro
    Insert the shortcode [shared_files_search]

    Additional parameters:

    • Don't sort by categories: [shared_files_search not_sorted_by_categories=1]
  • List only files in certain category:

    Pro
    Insert the shortcode [shared_files category="category_slug"]. You can find / define the category slug by editing the category.
  • List categories / list files by category:

    Pro
    Insert the shortcode [shared_files_categories] or [shared_files_categories category="category_slug"]. You can find / define the category slug by editing the category.
  • List a single file:

    Pro
    Insert the shortcode [shared_files file_id=12345]. The file_id parameter is unique for each file and can be found under the Shortcode column in File Management page.
  • Front-end uploader:

    Pro New
    To enable the uploader insert the shortcode [shared_files file_upload=1]
    To hide other files use parameter "only_uploaded_files" like so: [shared_files file_upload=1 only_uploaded_files=1]