Custom Schema

  • Resolved Huckage

    How about simply allowing users to input their own custom schema rather than try to spoon feed it to them via drop menus and possibly too much structure. This is a solution to so many problems like multiple locations, aggregate ratings, etc…

    I found your plugin due to my not being able to activate ‘custom fields’ on my page options… has to do with WPBakery. Currently, your schema implementation is only a temporary fix for the issue as I really can only get the proper schema on the landing page.

    I am more than capable of implementing my own schema as long as I have the area to do so. The information is all over the web and it’s not rocket surgery. Just give advanced users (if I call us that) the option to use an all-encompassing box to input the information in the proper format.

    Anyhow, you’re almost the complete solution. I love the plugin, please keep it up.

    • This topic was modified 4 weeks ago by Huckage.
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and the kind words.

    Please note that it is possible to extend the schema already provided by Rank Math by using the following filter on your theme’s functions.php file:

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

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

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