Schema markup

  • Hi there, I have this code on my site which I have implemented through rank math. I have 2 questions. 1. Where can I find it to update it please? 2. Is it possible to have a different address on different locality pages please and if so how do I change that please. Currently it is populating all pages: (I have added it to the senstive data.)

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for getting in touch with us.

    This is the schema markup code and it is automatically generated by Rank math depending on your settings. The code you shared is specific to the settings in Rank math > Titles & Meta > Local SEO.

    We currently do not support multiple location SEO but we o have it in our list of features to add. If you wish to add more data to the schema , you can use this filter to extend the json ld.

     * 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);

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

    Hi Michael, Thanks for your message – do you have any idea when this feature may be added please?

    Also is it possible to over-ride it on a particular page or do I have to switch it off from populating every single page?

    I don’t really understand the filter and how that would work, sorry? And where would I place that code?

    Thanks again


    I can’t say any specific day that it will be released, but it won’t be so long before it is released now.

    The code is to be added to your theme functions.php file. The code is for adding extra data to existing rank math json schema. You can have a developer customize the schema you want for your pages or use this schema generator: then add it to Rank math json schema with the filter provided.

    Looking forward to helping you. Thank you.


    Hi Michael,

    Thanks for your message – I understand about the day but are you thinking 1 month, 2 months, 6 months, 1 year as a guide please – as I don’t want to have to start doing extra work if this is going to implemented by you guys in the next update in a couple of weeks / month or so.

    Thanks again Duncan


    Something huge is coming up in the Pro version of the plugin that will make Schema a breeze for any website.

    We have built an advanced builder for that.

    You can follow the updates here:

    Hope that helps. Thank you.

    Thanks for your message – I don’t have the budget for the pro version – will it be coming out in the normal version and do you have a loose time frame please? Thanks again


    We plan on launching it within a month if everything goes to plan.

    We cannot say if these custom features will be part of free or Pro only but we will keep you posted about the progress.

    Hiya Uzair, That’s great thanks for your help!


    We are glad this was helpful.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

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