-
Hello!
How can I add a multiple area served schema in Rankmath PRO:
"areaServed": [
{
"@type": "Country",
"name": "Spain",
"@id": "https://en.wikipedia.org/wiki/Spain"
},{
"@type": "Country",
"name": "France",
"@id": "https://en.wikipedia.org/wiki/France"
},{
"@type": "Country",
"name": "Germany",
"@id": "https://en.wikipedia.org/wiki/Germany"
}],
using this:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
if ( isset( $data['publisher'] ) ) {return $data;
}, 99, 2 );I dont know how to make that sintax together.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The ticket ‘Add multiple area served schema php’ is closed to new replies.