ACF field does not accept JSON-LD formatted code – how to fix this?

[ad_1]

I have an elementor HTML widget and as input i have an ACF field of type “Text area”. In this ACF field I am inserting JSON-LD formatted code (look below). But the problem is that the ACF field somehow doesn’t accept the JSON format. Because, when i visit my page, it automatically removes the <script> tag somehow… Can someone help me?

<script type=”application/ld+json”>{ “@context”: “[https://schema.org/]”, “@type”: “Review”, “itemReviewed”: { “@type”: “Product”, “name”: “Kernemælk” }, “author”: { “@type”: “Person”, “name”: “Redaktionen” }, “reviewRating”: { “@type”: “Rating”, “ratingValue”: “5”, “bestRating”: “5” }, “publisher”: { “@type”: “Organization”, “name”: “Kernen” }}</script>

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer