• Home
  • Documentation

Documentation

Latest files

FW Gallery tutorial for Wordpress

<p>Display files from a category in a module in different layouts, with different filter options and ordering.</p><ul><li>3 layouts: Horizontal, Vertical, Slider</li><li>Layout configuration</li><li>Files limit</li><li>Ordering options</li></ul>

Display files from a category in a module in different layouts, with different filter options and ordering.

  • 3 layouts: Horizontal, Vertical, Slider
  • Layout configuration
  • Files limit
  • Ordering options
[fwmg_mod_latest] FWG Latest Files

Display files from a category in a module in different layouts, with different filter options and ordering.

  • 3 layouts: Horizontal, Vertical, Slider
  • Layout configuration
  • Files limit
  • Ordering options
... category_id or categories

Set categories by their IDs or names.

Options: comma separated category IDs or | (pipe symbol) separated category names.

Example IDs: [fwmg_mod_latest category_id="2,14,8"]
Example names: [fwmg_mod_latest categories="Some category 1 | Another category 2"]
... layout

Latest module style.

Options: horizontal, vertical, trendy.

  • Vertical layout shows 'Files total' in one column, occupying all module column width.
  • Horizontal layout shows 'Files total' in rows broken into columns specified by 'Files in a row'.
  • Slider layout shows 'Files total' in one row broken into columns specified by 'Files in a row' with an option to slide across all files shown.
Example: [fwmg_mod_latest layout="trendy"]
... limit

Set a number of files to be displayed in a module. Leave empty to show all files.

Value: integer.

Example: [fwmg_mod_latest limit="10"]
... qty_in_row

A setting for Horizontal and Slider (trendy) layouts. Specify a number of columns inside a module container.

Value: integer.

Example: [fwmg_mod_latest qty_in_row="5"]
... order

Defines order for files to be displayed in.

Options: newest, alpha, rand, popular.

  • newest - recently added files are shown first.
  • alpha - A to Z file ordering.
  • rand - random files ordering.
  • popular - the most viewed files are shown first.
Example: [fwmg_mod_latest order="popular"]
... show_files_info

A block of a file description that include all text and icons information. Here you may specify if this block is visible and how exactly it will be shown on a front-end.

Options: true, false.

Example: [fwmg_mod_latest show_files_info="true"]
... show_files_name

Hides or show a file name.

Options: true, false.

Example: [fwmg_mod_latest show_files_name="true"]
... show_files_update

Displays a date when a file was uploaded.

Options: true, false.

Example: [fwmg_mod_latest show_files_update="false"]
... show_files_owner

Shows a user name, who uploaded a file or was assigned as an owner.

Options: true, false.

Example: [fwmg_mod_latest show_files_owner="false"]
... show_files_description

Defines if file description should be shown.

Options: true, false.

Example: [fwmg_mod_latest show_files_description="true"]
... show_files_download

Shows Download but for files which are physically stored on a website and can be downloaded as a file.

Options: true, false.

Example: [fwmg_mod_latest show_files_download="true"]
... featured_first_sort

Specify how you want to display featured files in a module. Featured files will stand out among other files.

Options: show, hide, only.

  • Show - show featured files among other files.
  • Hide - do not show featured files in this module.
  • Only - show only featured files.
Example: [fwmg_mod_latest featured_first_sort="only"]