-
Hi.
I used your WP Schema Pro import on Rank Math but I don’t like that I got schemas in my posts that look like they were inserted manually and I would prefer to delete them all to use a dynamic solution.
Since I have more than 50,000 posts, the ideal would be a code like the one suggested in your guide:add_filter( 'rank_math/json_ld', function( $data, $jsonld ) { if ( ! is_front_page() || ! isset( $data['publisher'] ) ) { return $data; } unset($data['publisher']); //set the data to remove return $data; }, 99, 2);
I would like, if possible, that it was adapted to delete any schema from any post.
Can you help me?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The ticket ‘Remove Post’s Schema from Rank Math’ is closed to new replies.