#legal-content h2{
margin-bottom: 20px !important;
}
#legal-content figure.wp-block-uagb-image__figure {
margin-bottom: 40px !important;
}
// Create a unique timestamp to bust the cache
const timestamp = new Date().getTime();
// Fetching from main broker website with the timestamp appended
fetch(‘https://ultimo.finance/wp-json/wp/v2/pages/373?nocache=’ + timestamp, { cache: ‘no-store’ })
.then(response => response.json())
.then(data => {
document.getElementById(‘legal-content’).innerHTML = data.content.rendered;
})
.catch(error => {
document.getElementById(‘legal-content’).innerHTML = ‘Policy temporarily unavailable.’;
});