Main Menu

Press Enter to search or Esc to close

FW Gallery – Documentation

Latest Files Module

FW Gallery tutorial for WordPress

The Latest Files Module displays a compact gallery widget on any page of your site. It can show the most recent uploads, a random selection of images, or gallery cover thumbnails — making it useful for sidebars, footers, and homepage widget areas.

Use Cases

  • Sidebar widget — show the latest photos in a narrow side column alongside your main content.
  • Homepage teaser — surface recently added or random images to encourage visitors to explore your galleries.
  • Featured images block — filter to show only featured files as a curated highlight strip.

Embedding the Module

Use the shortcode [fwmg_mod_latest] to place the widget anywhere a shortcode is accepted — a page, post, or widget area. Parameters are passed directly inside the shortcode tag.

Example embedding the module to show 6 random images from a specific gallery:

[fwmg_mod_latest quantity="6" ordering="random" gallery="landscapes"]

Module Parameters

The table below lists all available parameters you can pass to the shortcode.

Parameter Type Default Description
Module class suffix Text CSS class suffix appended to the module wrapper for custom styling.
Gallery Select Filter to files from a specific gallery. Leave empty to pull from all galleries.
Display Radio Files What to display: Files (individual images) or Categories (gallery cover images).
Quantity Number Number of items to display in the widget.
Ordering Select Newest Sort order: Newest first, Alphabetically, Random, or Manual order.
Featured filter Select All Show All files, Only featured, or Hide featured.
Latest module displayed in a sidebar position
Latest module displayed in a sidebar position

Display Modes

  • When Display is set to Categories, the module shows gallery cover images with the gallery name, each linking to that gallery's page.
  • When Display is set to Files, each thumbnail links to the individual file detail page.

The visual appearance of the widget follows the active design template configured in FW Gallery. Appearance will differ between available templates.


Was this article helpful?
Previous
How to install add-ons?
Next
Tabbed Layout
  • Client Login

    Restore password
  • New Registration

or
Make sure @fastw3b.com email domain is white-listed in your email client to restore password, verify registration, get order confirmations, etc.