Home › Forums › All Other Themes › Restro Theme can't access sidebar information
- This topic has 5 replies, 3 voices, and was last updated 6 years, 11 months ago by Sonl Sinha.
-
AuthorPosts
-
March 22, 2017 at 6:42 pm #66383
In the restro restaurant theme there is on every page a side bar with two sections a daily open time and a reservation form. I need to change these to the correct time as well as see where the reservation is being stored. I cannot see these in either FORMs or WIDGETS They appear on every page and I can’t access them.
March 23, 2017 at 4:52 am #66410Hi,
Kindly go to Appearance>>Widget>>Main Sidebar
Drag and drop text widget in main sidebar to remove default sidebar.
Regards,
DaveJuly 24, 2017 at 6:28 pm #79111how to edit these widgets though?
July 25, 2017 at 6:56 am #79162Hi,
Kindly edit skt-restaurant-pro/functions.php and paste below code at the very end:
// Enable shortcodes in text widgets
add_filter('widget_text','do_shortcode');
After that kindly go to Appearance » Widgets » Sidebar Main, drag drop a text widget, paste below shortcode there in text view and change values.
[time_table] [time_table_row title="Monday" start="10:00 am - to - 08:00pm"] [time_table_row title="Tuesday" start="10:30 pm - to - 09:00pm"] [time_table_row title="Wednesday" start="09:00 am - to - 09:30pm"] [time_table_row title="Thursday" start="09:00 am - to - 09:30pm"] [time_table_row title="Friday" start="09:00 am - to - 05:00pm"] [time_table_row title="Saturday" start="09:00 am - to - 04:00pm"] [time_table_row title="Sunday" start="Closed"] [/time_table]
Now drag drop one more text widget, paste below shortcode there in text view and change [email protected] to your email address.
[contactform to_email="[email protected]" title="Contact Form"]
Regards,
DaveNovember 17, 2017 at 7:10 pm #87671Hi,
I inserted the code at the end of functions.php as said above from forum moderator now my website is completely blocked and says “ParseError thrown
syntax error, unexpected ‘&'”
Please help
November 20, 2017 at 5:01 am #87736Hi bbuiles,
This can only be done via coder.
Kindly send us your URL of the site and FTP details via sktthemes.net/contact Please mention this forum URL while replying so that we understand what needs to be done.
Regards,
Dave -
AuthorPosts
- You must be logged in to reply to this topic.