I want to add this RDF data inside the header.
Code: Select all
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "Wisp Forum",
"url": "https://wisp-forum.it",
"sameAs": [
"https://www.facebook.com/wispforum/"
],
"potentialAction": {
"@type": "SearchAction",
"target": "https://www.wisp-forum.it/search.php?keywords={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
I want to print exactly the string {search_term_string} without modify. How I can fix it?
If this code will work properly one user will search inside my forum directly from google. (wow!)