danieling
Forum Replies Created
-
Forum: Plugins
In reply to: [Five Star Business Profile and Schema] Week start on SundayHi @natewr,
Thanks for the help,
Unfortunately it didn’t work for me to modify the template opening hours(newbe), but what did work is editing template-functions.php and class-custom-post-types.php.
I changed the array that the week start on Sunday.
I guess that every update i will have to redo it.
Is there a simple code i can put in the template that will do it permanently?Thanks in advance,
Daniel$weekdays_i18n = array(
‘sunday’ => esc_html__( ‘Su’, ‘business-profile’ ),
‘monday’ => esc_html__( ‘Mo’, ‘business-profile’ ),
‘tuesday’ => esc_html__( ‘Tu’, ‘business-profile’ ),
‘wednesday’ => esc_html__( ‘We’, ‘business-profile’ ),
‘thursday’ => esc_html__( ‘Th’, ‘business-profile’ ),
‘friday’ => esc_html__( ‘Fr’, ‘business-profile’ ),
‘saturday’ => esc_html__( ‘Sa’, ‘business-profile’ ),Forum: Plugins
In reply to: [Five Star Business Profile and Schema] Week start on SundayHi @natewr,
I don’t have the Restaurant Reservations plugin installed, i have Business Profile.
I installed it to check if it will work, the first day of the week was already Sunday and it shows Sunday in the end of the line, after Thursday.I found in the template-functions.php file
$weekdays_i18n = array(
‘monday’ => esc_html__( ‘Mo’, ‘business-profile’ ),
‘tuesday’ => esc_html__( ‘Tu’, ‘business-profile’ ),
‘wednesday’ => esc_html__( ‘We’, ‘business-profile’ ),
‘thursday’ => esc_html__( ‘Th’, ‘business-profile’ ),
‘friday’ => esc_html__( ‘Fr’, ‘business-profile’ ),
‘saturday’ => esc_html__( ‘Sa’, ‘business-profile’ ),
‘sunday’ => esc_html__( ‘Su’, ‘business-profile’ ),If i change the order, will it help?
Or there is simple way to do this?
*My website is Hebrew language, so the plugin is automatic translated
Thanks- This reply was modified 7 years, 4 months ago by danieling.
Forum: Plugins
In reply to: [Five Star Business Profile and Schema] Week start on SundayHi @natewr
Thanks for your replay, I am a newbie, what do you mean booking? It’s on the plugin or in the settings of the website?My website is configured in the general settings to
“first day of the week: Sunday” (translated from Hebrew)