Structured Data (schema.org) - openingHours for EducationalOrganization

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I'm just about to expand my templates with schema.org attributes and have the following question. With which property can I specify the opening hours for the type EducationalOrganization? Unfortunately, the openingHours property is not available here. In addition, there is no type similar to the EducationalOrganization type.

Here is the current https://forum.tuteehub.com/tag/state">state of my code:

 itemscope itemtype="http://schema.org/EducationalOrganization" https://forum.tuteehub.com/tag/class">class="ce_text address block">
     https://forum.tuteehub.com/tag/class">class="text_container">
        

itemprop="name">php echo $this->https://forum.tuteehub.com/tag/field">field('company')->value(); ?>
itemscope itemtype="http://schema.org/PostalAddress" itemprop="address"> itemprop="streetAddress"> php echo $this->https://forum.tuteehub.com/tag/field">field('street')->value(); ?>
itemprop="postalCode"> php echo $this->https://forum.tuteehub.com/tag/field">field('zipcode')->value(); ?> itemprop="addressLocality"> php echo $this->https://forum.tuteehub.com/tag/field">field('place')->value(); ?>

Aus dem Ausland: itemprop="telephone">php echo $this->https://forum.tuteehub.com/tag/field">field('phone_foreign')->value(); ?>
Fax: itemprop="telephone">php echo $this->https://forum.tuteehub.com/tag/field">field('fax')->value(); ?>

itemscope itemtype="??????"> Öffnungszeiten:
Montag bis Donnerstag: itemprop="openingHours" content="Mo-Th 08:00-18:00">php echo $this->https://forum.tuteehub.com/tag/field">field('mothu')->value(); ?>
Freitag: itemprop="openingHours" content="Fr 08:00-15:00">php echo $this->https://forum.tuteehub.com/tag/field">field('fri')->value(); ?>

What type can I use in this case to use the itemprop="openingHours" property or is there another workarount, if this is not possible?


UPDATE:

I have chosen this solution in the meantime. It is read out cleanly by Google and makes more sense in the case of our company.

     itemscope itemtype="http://schema.org/Service">
        Öffnungszeiten:
Montag bis Donnerstag: php echo $this->https://forum.tuteehub.com/tag/field">field('mothu')->value(); ?>
Freitag: php echo $this->https://forum.tuteehub.com/tag/field">field('fri')->value();
0 views
0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.