Hello,
Thank you for contacting Rank Math today.
Do you mean to have more than one local business schema markup to your pages?? If so, I wouldn’t recommend this but you can use this tool: https://technicalseo.com/tools/schema-markup-generator/ to generate the alternate schema then use the following filter to extend Rank math json schema markup:
/**
* Collect data to output in JSON-LD.
*
* @param array $unsigned An array of data to output in json-ld.
* @param JsonLD $unsigned JsonLD instance.
*/
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
return [];
}, 99, 2);
Looking forward to helping you. Thank you.
Thanks for the response. It is a piece of valuable information. There isn’t a need to supply more than one schema on the website though.
Rankmath has a selection for Restaurant here https://rankmath.com/kb/rich-snippets/
I would like to use a selection for https://schema.org/HomeAndConstructionBusiness
instead of…
https://schema.org/Restaurant
Hello,
I am sorry to but Rank math doesn’t have an option to add the Home and Construction schema to a single post.
You can however add this as your business type in Rank math > Titles & Meta > Local Business
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.