Listing Block
Button Block
Product documentation for the LunaSites Button block: properties, links, responsive alignment, icons, reusable Style Panel presets, Default and On Hover states, button patterns, motion, and accessibility.
HTML Block
A practical guide to the LunaSites HTML Block block: embed custom HTML, script, iframe, and interactive widgets, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Video Block
A practical guide to the LunaSites Video block: youTube or uploaded video with customizable playback, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Breadcrumbs Block
Learn the LunaSites Breadcrumbs block: automatic page hierarchy, separators, Home link, Style Panel states, responsive sizing, accessibility, and a live example.
Search Block
A practical guide to the LunaSites Search block: full-text search with results and pagination, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Newsletter Block
A practical guide to the LunaSites Newsletter block: email signup form with theme-aware styles, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Social Media Block
A practical guide to the LunaSites Social Media block: share buttons or profile links with social icons, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Text Block
A practical guide to the LunaSites Text block: rich text editor with formatting, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Listing Block
A practical guide to the LunaSites Listing block: display content in grid, list, masonry or carousel, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Statistic Block
A practical guide to the LunaSites Statistic block: display a number with prefix, suffix and label, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Restaurant Menu Block
A practical guide to the LunaSites Restaurant Menu block: editorial food and drinks menu with sections and prices, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Map Block
A practical guide to the LunaSites Map block: interactive map with customizable styling, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Accordion Block
Reference documentation for the LunaSites Accordion block: content properties, item editing, behavior, Style Panel areas and states, responsive behavior, accessibility, and a live example.
Metadata Block
A practical guide to the LunaSites Metadata block: compose article metadata from author, date and fields, configure its real settings, style supported areas, and verify responsive and accessible behavior.
PDF Block
A practical guide to the LunaSites PDF block: embedded PDF document viewer, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Table Block
A practical guide to the LunaSites Table block: editable Plate table with styleable headers, rows, and cells, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Divider Block
A practical guide to the LunaSites Divider block: horizontal or vertical line separator, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Custom Code Block
A practical guide to the LunaSites Custom Code block: build a block with trusted HTML, CSS, and vanilla JavaScript, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Display Code Block
A practical guide to the LunaSites Display Code block: display code with syntax highlighting and copy, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Scrolling Text Block
A practical guide to the LunaSites Scrolling Text block: fixed-height scrollable rich text block, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Icon Block
A practical guide to the LunaSites Icon block: decorative icons with optional background, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Carousel Block
Learn how to add slides, edit crop and captions, configure Carousel layout and behavior, style default and hover states, and verify the LunaSites Carousel across breakpoints.
Gradient Glow Block
A practical guide to the LunaSites Gradient Glow block: soft blurred gradient aura for decorative section depth, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Shape Block
A practical guide to the LunaSites Shape block: decorative shapes with theme colors, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Image Block
A practical guide to the LunaSites Image block: image with upload, gallery, and editing, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Form Block
A practical guide to the LunaSites Form block: customizable contact or lead capture form, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Icon Grid Block
A practical guide to the LunaSites Icon Grid block: responsive grid of icons or logos, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Countdown Block
A practical guide to the LunaSites Countdown block: minimal countdown timer, configure its real settings, style supported areas, and verify responsive and accessible behavior.
Listing displays real site content from a chosen location, then lets you control how results are arranged, filtered, sorted and paginated. The live demo above is a compact Grid gallery built from Image items stored in Luna Gallery.
What the Listing block does
Use one Listing whenever a collection should stay synchronized with CMS content. New matching items appear automatically; items that no longer match the source, type or fixed filters disappear automatically.
Choose a display type
• Stack — stored as the list variation. Cards appear one per row, with media and text side by side on wide screens and stacked on small screens.
• Grid — uses two, three or four equal columns. It is the clearest choice for repeatable cards such as articles, services or team profiles.
• Masonry — preserves mixed image proportions and fills vertical gaps. It automatically uses Image only cards and is ideal for editorial galleries.
• Carousel — shows one to five slides at a time and adds optional arrows, dots, looping and autoplay. Pagination settings do not apply to this variation.
Grid and Masonry reduce columns automatically: a three-column desktop layout becomes two columns on tablet and one column on narrow mobile screens. Stack becomes vertical on mobile.


Choose exactly what content is listed
Content Path and Content Type solve different parts of the query. Content Path defines where Luna searches; Content Type defines what kind of item is allowed. Use either one alone or combine both.
Limit results to one folder
In Content Source, choose Browse and select the folder. Luna saves a path such as /news or /gallery and lists only direct children of that location. Use Clear to return to the entire site.
Do not add a trailing slash. A folder path is the cleanest way to isolate one gallery, portfolio, team or resource library.
Limit results to one content type
Open Content Type and choose one exact type such as Pages, Images, Files, Folder, Docs or Article. All content intentionally leaves the type empty and mixes every matching type.
For a strict query, combine both settings: for example, Content Path /gallery plus Content Type Images. The block will then show only Image items that are direct children of that folder.
Important: Content Type is its own setting. Do not recreate it as a fixed portal_type filter.


Pre-filter content with fixed filters
Fixed filters are author constraints stored with the block. Visitors do not see or change them. Click Add filter, choose an indexed field, select a valid operator, then provide the value.
Examples: Tags contains design; Author equals a selected author; Reading time is greater than 5; Publication date is newer than a chosen date. Multiple fixed filters narrow the same result set.
Add visitor-facing filtering
Public Filters are controls rendered above the results. They are separate from fixed filters: visitor choices update the visible result set and URL state, but do not rewrite the block configuration.
Enable Search for free-text discovery. Add up to eight public facets and choose Horizontal for a compact toolbar or Vertical for a filter panel.
Filter by Tags
Choose the indexed Tags field, set the visitor label, decide how many values are shown and their order, then optionally display tags as chips. Tags are multi-value, so visitors can narrow a collection without changing its folder or content type.



Filter by indexed custom metadata
1. In Manage Site → Content Types, create or edit the exact custom content type used by the Listing.
2. Add a new field such as Category, Region, Difficulty or Featured. Use a filterable field type such as text, list of values, boolean, integer or date, then enable Indexed for that field.
3. Add values to the content items and return to the Listing. Select that exact custom content type in Content Type; indexed custom fields are exposed only when a single type is selected.
4. Add the new field either as a Fixed Filter for an invisible author rule or as a Public Filter for a visitor control. If the field is not indexed, it will not appear in the field picker.
Build a gallery from a folder
1. Create a Folder dedicated to the gallery and upload every photograph as an Image item inside it.
2. Open the folder Settings and enable Exclude from navigation. The folder remains queryable by Listing, but it will not be added automatically to the site navigation.
3. Add a Listing, set Content Path to that folder and Content Type to Images.
4. Choose Masonry for mixed proportions, Grid for consistent cards, Carousel for a slideshow, or Stack when each image needs more accompanying text. Use Image only cards and disable item links if the gallery should not open individual Image pages.

Sorting, pagination and performance
Sort by a real sortable field and choose ascending or descending order. Infinite loads another batch continuously; Pages exposes page controls. Max Items limits the whole result set, while 0 means uncapped. Keep Page Size between 1 and 24 and use a unique pagination key when multiple listings appear on one page.
Style the results
Properties controls the query, layout and content shown on each card. Style controls the visual treatment of the Listing surface and its supported parts. Configure content first, then refine spacing, image ratio, card appearance, borders and hover states.

Accessibility checklist
• Keep filter labels explicit and preserve visible keyboard focus on search, facets, pagination and carousel controls.
• Give every meaningful gallery image useful alternative text on its Image item.
• Do not rely on color alone for selected filters; verify readable empty, loading and no-results states.
Common mistakes
• Querying the whole site when the collection belongs to one folder.
• Leaving Content Type on All content and expecting custom indexed fields to appear.
• Confusing fixed pre-filters with visitor-facing public filters.
• Styling cards before the source, field indexes and content model are correct.
Quick recipe
Choose the folder, choose one content type, add fixed author constraints, expose only useful public filters, select the matching display type, and verify the real results at desktop, tablet and mobile.
Questions, ideas, or bugs?
Explore what we’re building next, ask the Luna team for help, or send a focused bug report.