Skip to content

Wized Cloak attribute

When loading dynamic data, it's essential to hide static content or display a loading state until Wized finishes loading and initialization.

Using Wized Cloak

Add the wized-cloak attribute to elements you want to hide during the loading phase. Then, add CSS to hide these elements initially. Wized will automatically show them once fully loaded:

This example hides elements with wized-cloak on the live site while keeping them visible in the Elementor editor:

css
html:not(.elementor-html) [wized-cloak] {
  display: none !important;
}