Schema.org – Restaurant

#75594
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Please head over to Rank math > Titles and Meta > Local SEO set the business type to Restaurant then add the time and phone number as require.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thanks Michael. I already set the schema.org to restaurant. Could I make the system auto detect the time, phone number and price range? Since the are always available in the pages. They are different fields.

    Hello,

    I don’t see an issue with time, but if you are referring to opening hours, this data can be easily filled in Local SEO settings, please check.

    The only markup data that seems to be missing, which is actually optional, is address, telephone, pricerange and servesCuisine.

    For the address, telephone, pricerange and address can be filled in Local SEO settings. You only need to fill these details there and they will reflect on all your pages.

    As for the servesCuisine, you can use the following to your active theme functions.php

    
    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	if( isset( $data['Organization'] ) && 'Restaurant' === $data['Organization']['@type'] ) {
    		$data['Organization']['servesCuisine'] = 'serveCuisine';
    	}
    
    	return $data;
    }, 99, 2 );
    

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    I guess I see the issue here. Our website is a listing site. That said: we have several different restaurant pages on our website with all different phone-numbers, opening hours, addresses and so on. In every page we incorporate this data and we need the schema.org mark-up to automatically take the proper information. In the former case with Yoast, the system worked fine for these pages. Please review a page like: https://restaurantterschelling.nl/locatie/paviljoen-de-walvis/

    Hello,

    Thank you for the clarification.

    Unfortunately we have not yet implemented the on-page restaurant menu markup and also we don’t have a public ETA for it, but we hope to be able to include it in an update soon.

    Looking forward to helping you. Thank you.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Schema.org – Restaurant’ is closed to new replies.