Inicio - Documentación - POM Theme - 09 Shortcodes - 09.1 Shortcodes reference - `web_finder_content_meta_key_field` Shortcode

web_finder_content_meta_key_field Shortcode

The web_finder_content_meta_key_field shortcode filters a legacy Finder against one named post-meta field. It can render a text input or date input and passes the configured comparison, relation and data type to the Finder query.

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.

Allowed parent shortcodes: web_finder_column.

Usage

[web_finder_content_meta_key_field]

Attributes

Attribute Default Accepted values Purpose
label Plain text Names the custom-field filter for visitors.
placeholder Plain text Gives a short input hint without replacing the visible label.
meta_key Existing post-meta key Selects the stored field queried by this control.
format text, date Selects how the field or value is rendered.
device_visibility String unless stated otherwise Applies the selected responsive visibility rule.
type meta_key meta_key Identifies this as a Finder post-meta filter.
values Finder-compatible value list Supplies predefined values where the selected field format uses them.
compare LIKE Comparison supported by the Finder library Controls how submitted content is compared with stored metadata.
relation OR OR, or another relation supported by the Finder library Combines multiple submitted values.
data_type ARRAY<CHAR> Finder-compatible data type Tells the Finder how stored values should be interpreted.
class Space-separated CSS class names Adds classes to the generated input; date format also receives the date-picker classes.

Finder composition

Place the field directly inside web_finder_column. The callback converts meta_key to the array form expected by the Finder library and loads date-picker assets only when format is date.

Verification

Test against posts with a matching value, a different value and no value. Confirm the comparison includes only the intended records; for date format, also verify picker input and the stored metadata use compatible representations.