Questo รจ un esempio di integrazione del widget eventi di VisitPistoia
Per l’integrazione si deve passare il codice de comune nell’esempio 15285 per Quarrata e la lingua nell’esempio IT
<style>
#event_list {
width: 1px;
min-width: 100%;
border:none;
background: transparent;
}
</style>
<iframe id="event_list" src=""></iframe>
<script src="https://test.visitpistoia.eu/wp-content/themes/galleria-metropolia-child/dist/iframeResizer.min.js"></script>
<script>
const urlParams = new URLSearchParams(window.location.search);
const myParam = urlParams.get('place');
document.getElementById('event_list').src = "https://visitpistoia.eu/en/events-list/?place=15285";
iFrameResize({ log: true,inPageLinks:true,autoresize:true}, '#event_list')
</script>