web_cookies_info_table Shortcode
The web_cookies_info_table shortcode builds a public disclosure table from the cookie groups configured for the site. It outputs nothing when no usable cookie rows are available.
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_cookies_info_table]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
caption |
Empty | Plain text | Optional visible table title. |
device_visibility |
— | Existing web-hide-on-lg, web-hide-on-md, web-hide-on-sm, web-hide-on-xs classes |
Hides the wrapper in the selected device ranges. |
el_id |
— | Valid unique HTML ID | Assigns an ID to the table wrapper. |
el_class |
— | Space-separated CSS class names | Adds classes to the table wrapper. |
Generated columns
Each valid configured cookie row is displayed with Name, Origin, Type, Expiration and Group columns. The shortcode reads the disclosure configuration at render time; it does not accept cookie records in its content or attributes.
Manage records in Settings → POM Theme → Integrations → Cookies → Cookie notice settings → Cookies data. Use Name|Origin|Type|Expiration, one record per line. A single record without a final newline works. Empty lines, incomplete records and records without a name are omitted. Extra fields after the fourth are ignored. Values are displayed as text, not interpreted as HTML. A wide table scrolls within its existing responsive container on narrow screens.
The Cookies Information Table block uses the same records, HTML and stylesheet. Neither authoring method reads visitors' browser cookies or changes consent. Clear existing page caches after changing disclosure records if older HTML remains visible.
Customize the stylesheet
Administrators can replace the complete Cookies info table stylesheet under Settings → POM Theme → Advanced → Custom CSS → Shortcode CSS assets → Cookies info table. Saving publishes an optimized per-site copy without adding the stylesheet to pages that do not contain the shortcode. Reverting returns the existing web-cookies-info-table handle to the current cookies-info-table.min.css supplied by the theme. The configured cookie records, five disclosure columns, generated rows, shortcode attributes, and markup remain unchanged, and the stylesheet-only feature does not gain a JavaScript request.
Verification
Compare the public table with every configured cookie group and verify that malformed or empty rows are not shown. On narrow screens, confirm visitors can still read the relationship between each row and its five headings.