The code shows closed/open label depend on time. It shows correct html only if i refresh page, but if i close page and open again nothing will change. How to prevent this code from being cached(only this code)? if its not possible then how to disable cache for particular page where the code is? I use WordPress.
<span class="shop-status <?php $status; ?>"><?php echo($status); ?></span>