web_a_z_feed Shortcode
The web_a_z_feed shortcode renders an alphabetical index of published content using a saved query and a shared item template. It uses the same live renderer as the A–Z Feed block.
The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.
Usage
[web_a_z_feed]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
query |
1 |
String unless stated otherwise | Controls the query. |
base |
default |
default, default_masonry, only_image, horizontal_list, horizontal_list_thumbnail, horizontal_list_big, horizontal_list_title_over, horizontal_list_creative, wide_slider, full_screen, full_width_section, pricing_list, no_wrapper |
Controls the loop base. |
columns |
4 |
12, 6, 4, 3, 2 |
Grid span in the default layout. In masonry layouts, the same stored value is the literal column count, unless masonry_columns overrides it. |
layout |
default |
default or a configured custom feed-template slug |
Selects the template used for each result. |
device_visibility |
— | String unless stated otherwise | Applies the selected responsive visibility rule. |
el_class |
— | String unless stated otherwise | If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file. |
query_type / single_posts |
custom / empty |
custom or single_posts; comma-separated post IDs |
Optionally use ordered selected posts instead of a query. |
limit |
0 |
0–200 | Zero keeps the saved source limit, including all results; positive overrides limit the entire index. |
columns_landscape, columns_portrait, columns_mobile |
Same as columns |
Same grid spans | Optional responsive grid overrides. |
masonry_columns |
Literal columns value |
1–9 | Explicit large-screen masonry count. |
gap |
Theme default | minimal, small, medium, none |
Existing grid rem helpers or masonry spacing. |
navigation |
yes |
yes, no |
Display the letter navigation. |
empty_letters |
yes |
yes, no |
Display inactive letters without links. |
fold_accents |
yes |
yes, no |
Group accented Latin initials with A–Z, including Ñ with N. |
number_group |
individual |
individual, combined |
Separate digit groups or one 0–9 group. |
heading_tag |
h2 |
h2–h6 |
Semantic group heading level, preserving H2 visual styling. |
accessible_name |
Alphabetical index | Plain text | Names the index and its navigation. |
el_id |
Empty | Unique HTML anchor | Optional outer container anchor. |
The Page Builder offers its original query, base, columns, template and class controls. Additional attributes above are available to reviewed shortcode content and the native block.
The first shortcode group for each Latin letter or digit preserves its existing #a-z-A–#a-z-Z or #a-z-0–#a-z-9 destination. Repeated groups use unique destinations, and each index's navigation links to its own groups. Native blocks use unique destinations throughout.
Only published, password-free public content permitted by the current content-type rules contributes groups. There is no pagination or term-query mode. Source order is preserved inside groups. Other Unicode initials remain available, and symbols or empty titles use #. Missing explicit queries and empty selections render nothing; missing templates use unlinked titles.
The existing web-a-z-feed stylesheet is conditional. Masonry/image-hover layouts additionally use Isotope, Wide slider uses the shared Carousel, and Full screen uses the FullPage runtime. Selected templates retain their own conditional dependencies. Letter navigation itself uses ordinary links and needs no additional script.
Customize the stylesheet
Administrators can replace the complete A-Z feed stylesheet under Settings → POM Theme → Advanced → Custom CSS → Shortcode CSS assets → A-Z feed. Saving publishes an optimized per-site copy but does not add the stylesheet to pages that do not contain the shortcode. Reverting returns the existing web-a-z-feed handle to the current a-z-feed.min.css supplied by the theme. The query, loop base, columns, result template, and rendered post groups remain unchanged.
Verification
Test web_a_z_feed with populated, empty and long result sets, and verify the selected source belongs to the current site. Pay particular attention to query and base.