• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Google Structured data for Xenforo

In the PAGE_CONTAINER Template , The following script for google structured data is there

<xen:if is="{$isIndexPage} AND {$canSearch}">
<script type="application/ld+json">
"@context": "http://schema.org",
"@type": "WebSite",
"url": "{xen:jsescape {xen:link canonical:index}}",
"potentialAction": {
"@type": "SearchAction",
"target": "{xen:jsescape {xen:link canonical:search/search}}{xen:if $xenOptions.useFriendlyUrls, '?', '&'}keywords={search_keywords}",
"query-input": "required name=search_keywords"

On Similar lines , Can anybody please help me how to add the following Javascripts in Xen foro langauage.

Script 1.

"name":"Your WebSite Name",
"alternateName":"An alternative name for your WebSite",

Script 2

"name":"your name",

Many Thanks