Correct format for 24 hours?

#85231
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for getting in touch with us.

    The opening hours entity is usually added to Local Business schema or civic structure. If you are not using either of this, you can choose to leave the fields just as they are. If you do haven any one of those schema you can use the filter to modify rich snipetts and assign the openingHours value to be mon-sun. For reference, here is a link: https://schema.org/openingHours

    
    /**
     * Filter to change the schema data.
     * Replace $schema_type with schema name like article, review, etc.
     * @param array $entity Snippet Data
     * @return array
     */
    add_filter( "rank_math/snippet/rich_snippet_LocalBusiness_entity", function( $entity ) {
     return $entity;
    });
    

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Correct format for 24 hours?’ is closed to new replies.