Conversation
supportHow to choose my country and how to set the correct times for timetable. The app seems not to be working properly. Please contact me as soon as possible. https://wordpress.org/plugins/wp-open-hours/
Edit wp-open-hours/time.php and replace a current date_default_timezone_set(”). To fix a strange time calculating go to wp-open-hours/wp_openhour_widget.php and just delete two divs after <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>”> and add <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>-time-label”>Current Time: <?php echo date(“h:i a”); ?> </div>
Thank you so much for that!
In addition to edit of wp-open-hours/time.php and replace a current date_default_timezone_set(”). You have also replace a current date_default_timezone_set(”) in “wp-open-hours/wp_openhour_widget.php” too. After that continue last edit as viskia told just delete two divs after <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>”> and add <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>-time-label”>Current Time: <?php echo date(“h:i a”); ?></div>. Then this works great. Thanks for great plugin
ok how about the opening in x hours? it always shows wrong calculation, can you help? thanks
Edit wp-open-hours/time.php and replace a current date_default_timezone_set(”). To fix a strange time calculating go to wp-open-hours/wp_openhour_widget.php and just delete two divs after <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>”> and add <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>-time-label”>Current Time: <?php echo date(“h:i a”); ?> </div>
Thank you so much for that!
In addition to edit of wp-open-hours/time.php and replace a current date_default_timezone_set(”). You have also replace a current date_default_timezone_set(”) in “wp-open-hours/wp_openhour_widget.php” too. After that continue last edit as viskia told just delete two divs after <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>”> and add <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>-time-label”>Current Time: <?php echo date(“h:i a”); ?></div>. Then this works great. Thanks for great plugin
ok how about the opening in x hours? it always shows wrong calculation, can you help? thanks