Help! Restore functions.php
This support request was posted in BBQ by rodecape
- rodecape February 16, 2013 at 11:03 pm
Hello Juan,
I did something stupid!! I tried to change the opening hours in function.php and now the website gives aan error: http://www.forzascooterverhuur.nl/wordpress/admin.
I removed this piece of code //if ( $prev_h == 24)
if ( ( $prev_h + 1 ) == $curr_h ){to see what would happen with the opening hours (I want them in european, not pm and am). But when I tried to put it back and refreshed my page, the error appeared!! Please tell me that you can fix this? Im not sure if I have an back up.
This is an website that I build for a client, so PLEASE tell me that you can help me…
Thank you!!!
Michelle from the Netherlands
Juanfra Aldasoro February 17, 2013 at 3:24 pmHi Michelle,
No worries. I’ve updated that file on your server. Next time, you can download the theme files again and just replace them.
By the way, we’ve updated BBQ. The version 1.0.6 is now available, and between all the new features, there’s one for the problem you want to solve. You can pick your own time format for the opening hours.
Best,
Juan.
This topic is marked as resolved
Only the topic author can re-open this thread.