Medical Schema Grouping

#83613
  • Resolved Cynthia
    Rank Math free

    Hi guys
    Because of the the COVID-19 pandemic and other medical issues that are now at the forefront of things. Could you please add support for the Medical schemas
    MedicalCondition (information about a specific medical condition)
    Drug (information about a medical drug)
    MedicalGuideline (a medical guideline)
    MedicalWebPage (a single-topic web page about a health or medical topic)
    MedicalScholarlyArticle (a page with a record, abstract, or full text of a medical scholarly publication).

    https://schema.org/docs/meddocs.html

    It would be enormously helpful

Viewing 1 replies (of 1 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for your suggestion.

    I wil forward it to the dev team to see what they can do about it. In the moment you can use this JSON schema tool to generate the schema and then use it with the following filter to extend Rank math jsonld data:

    
    /**
     * 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 [];
    }, 10, 2);
    

    Hope that helps. If you have any further question(s), please let us know. 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 1 replies (of 1 total)

The ticket ‘Medical Schema Grouping’ is closed to new replies.