-
-
How do I add JSON-ld script to the site header? Is there a way to do it in the functions.php file? Here is the script tag that needs to be added:
<script type="application/ld+json">// <![CDATA[ { "@context": "https://schema.org", "@type": "ProfessionalService", "name": "Patriot Pottys, LLC", "image": "https://patriotpottys.com/wp-content/uploads/2020/04/patriot-pottys-logo-footer.png", "@id": "", "url": "https://www.patriotpottys.com", "telephone": "844-476-8897", "address": { "@type": "PostalAddress", "streetAddress": "9115 Industry Drive", "addressLocality": "Manassas Park", "addressRegion": "VA", "postalCode": "20111", "addressCountry": "US" }, "openingHoursSpecification": { "@type": "OpeningHoursSpecification", "dayOfWeek": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ], "opens": "08:00", "closes": "17:00" }, "sameAs": [ "https://www.facebook.com/PatriotPottys/", "https://www.linkedin.com/company/patriot-pottys/" ] } // ]]></script>
-
Hello,
You can create a child theme and add it in the header.php of the child theme. Or you can use any of this plugins:
Regards!
-
Viewing 1 reply thread
You must be logged in to reply to this topic.