Hello community,
Here is some advanced problems .
Solved
Hello community,
Here is some advanced problems .
Solved
@Pandore Use a Custom Embed in the Page Template (Manual Field Mapping)
<Embed>
element (not rich text!) into the page where you want the SEO schema.<script type="application/ld+json">
tags.<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "V!deoObject",
"name": "{{wf {"path": "title", "type": "PlainText"} }}",
"description": "{{wf {"path": "description", "type": "PlainText"} }}",
"thumbnailUrl": "{{wf {"path": "thumbnail-url", "type": "PlainText"} }}",
"uploadDate": "{{wf {"path": "date", "type": "Date"} }}",
"contentUrl": "{{wf {"path": "v!deo-url", "type": "PlainText"} }}"
}
</script>
Webflow will not render
{{wf...}}
tags in the Designer, but they will work on the published site.
AddWeb’s solution can work but only if your fields are separate and if that field content is very simple. Webflow always HTML-encodes +add fields, which is not the same as JSON encoding so things like a single quote can break your JSON.
If you want to stay close to your current approach- the big stored chunk of JSON per CMS item, here’s how;
When you publish, the JSON-LD will be rendered into the page intact with no encoding.
Hey memetican,
You are the master of this forum section ahah, a great thanks for your help.
Google doesn’t detect the file.
Actually I can’t find the code on the inspector.
Hey Christopher,
It’s showing in your code fine-
It’s able to see it as well, you can use this tool on GDev to test-
https://search.google.com/test/rich-results