MedicalWebPage Schema

#74232
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math today.

    Unfortunately we don’t have a specific time for this. Hopefully it will be added in a future update, you can keep an eye on our change-log: https://rankmath.com/changelog/ to know when it is added.

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

    Tentative time for release is much appreciated. So that I could have an expectation.

    Is there any workarounds to have medicalwebpage schema setup whilst keeping the Rank Math plugin installed?

    Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math today.

    Unfortunately, we are not able to give you an approximate release date since there are a lot of upcoming features, so it depends on how fast we are able to publish them. The only thing I can tell you is we know how important is to offer a lot of Schemas so it is one of our important tasks.

    Meanwhile, if you would like to add a custom schema and have it working without conflicts, then I can suggest that you look into the following filter to add the custom schema (you will need to modify this code but it is a guide to start):

    /**
     * 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 ) {
            if(is_singular('post type name here')){
    	$data['schema type'] = [
    			'@context' => 'https://schema.org',
    			'@type'    => '',
    			'@id'      => '',
    			'name'     => '',
    			'url'      => '',
    			'sameAs'   => '',
    		];
    	return $data;
    	}
    	return [];
    }, 10, 2);

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

The ticket ‘MedicalWebPage Schema’ is closed to new replies.