RankMath ld+json NOT using CDN URL
-
Rankmath can configure LD+Json Schema for products, although is not considering the CDN URL’s: This can be seen here: view-source:https://ellasbubbles.com/walk-in-tubs/stainless-steel-door/ultimate/ and found within these tags
<script type="application/ld+json" class="rank-math-schema">
EXMAPLE: {"@type":"ImageObject","url":"https://ellasbubbles.com/wp-content/uploads/2020/12/ultimate-airhydroindependent-foot-massage-walk-in-tub-30\u2033w-x-60\u2033l-76cm-x-152cm-34.jpg","height":"1000","width":"1000"}
</script>Note you can extend the JSON with this hook as mentioned here: https://rankmath.com/kb/filters-hooks-api-developer/
/** * 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);
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.