<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Temporary Closure is not reflected in the code display

[ad_1]

Replies: 1

In We’re open settings we put in a temporary closure time but the result of %days_change% does not seem to be correct.

On the website it just shows 6 days but it should be around 14 days as shown in settings of we’re open.

The code I use is:

[open_text update="immediate"]
    %if_open_now%
    <span class="op-open">Gerade geöffnet</span>
    %end%
    %if_closed_now%
    <span class="op-closed">Gerade geschlossen</span>
    %end%
    <span class="op-next-period op-next-period">
    %if_open_now%
      Wir schließen um %today_end% Uhr.
    %end%
    %if_closed_now%
      %if_not_open_later% 
          %if_open_tomorrow%
            Wir öffnen morgen um %tomorrow_start% Uhr.
          %else%
            Wir öffnen in %days_change% Tagen wieder. 
          %end%
      %else% 
        Wir öffnen heute um %today_next% wieder.
      %end% 
    %end%
[/open_text]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer