Location Example
Advanced Options
The following options are useful for multiple widgets per page and extra customisation:
data-container-idmay be set to the ID of<div>tag created to hold the widget,
and this can be useful to apply specific styles to the widget container or where
your website requires additional options to facilitate embedding the widget.data-tagallows a widget instance to have specific customisation applied,
e.g. display of special offers or time driven content such as seasonal menu offers.
It is needed for multiple OpenScore widgets on a page, e.g. “sidebar1” or “footer”.Here is an example where OpenScore widget is used in a sidebar:
In the above example,
sidebar1can be used to customise the widget in the OpenScore control panel.
Troubleshooting
To view the OpenScore widget standalone in its own page:
replace
1-1with the Regulator ID, for example the CQC ID, in England:
Version History
September 2024.