Телефон:
-
+
Почта:
-
+
Адрес:
Наши соцсети:
@@ -780,7 +780,7 @@ if (preg_match("/\\(window,document,'([^']+)'\\)/", $_b24_raw, $_m)) $_b24_url =
data-b24-loader="">
@@ -994,7 +994,14 @@ if ( ! empty( $jsonld_coord_arr[0] ) && ! empty( $jsonld_coord_arr[1] ) && is_nu
}
$localbusiness['areaServed'] = $city_clean . ', ' . $jsonld_region;
-$localbusiness['openingHours'] = 'Mo-Fr 08:30-18:30';
+$localbusiness['openingHoursSpecification'] = array(
+ array(
+ '@type' => 'OpeningHoursSpecification',
+ 'dayOfWeek' => array( 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday' ),
+ 'opens' => '08:30',
+ 'closes' => '18:30',
+ ),
+);
$localbusiness['priceRange'] = $jsonld_price_range;
$localbusiness['parentOrganization'] = array( '@id' => home_url('/') . '#organization' );
@@ -1010,6 +1017,16 @@ if ( $jsonld_img_url ) {
if ( ! empty( $jsonld_social ) ) {
$organization['sameAs'] = $jsonld_social;
}
+$organization['foundingDate'] = '2020';
+if ( $jsonld_phone || $jsonld_mail ) {
+ $cp = array( '@type' => 'ContactPoint' );
+ if ( $jsonld_phone ) $cp['telephone'] = $jsonld_phone;
+ if ( $jsonld_mail ) $cp['email'] = $jsonld_mail;
+ $cp['contactType'] = 'customer service';
+ $cp['areaServed'] = 'RU';
+ $cp['availableLanguage'] = array( 'Russian' );
+ $organization['contactPoint'] = array( $cp );
+}
if ( $agg_rating ) {
$localbusiness['aggregateRating'] = $agg_rating;
@@ -1021,6 +1038,14 @@ $ld_website = array(
'name' => $jsonld_name,
'inLanguage' => 'ru-RU',
'publisher' => array( '@id' => home_url('/') . '#organization' ),
+ 'potentialAction' => array(
+ '@type' => 'SearchAction',
+ 'target' => array(
+ '@type' => 'EntryPoint',
+ 'urlTemplate' => home_url('/') . '?s={search_term_string}',
+ ),
+ 'query-input' => 'required name=search_term_string',
+ ),
);
$ld_webpage = array(
'@type' => 'WebPage',