Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Invalid value in itemtype

Solved by Karmalakas View solution

Started by Stanislav 2 years ago · 4 replies · 283 views
2 years ago

Good afternoon. I received such a warning in the search-console.
Using the Editorial theme

Invalid value in "itemtype" field
Items with these problems cannot appear as Google advanced search results.

Affected pages:
www.meizer.kz/ru/submeny/kukhni
www.meizer.kz/ru/submeny/ofisnaya
www.meizer.kz/ru/submeny/vannaya

<div class="gallery_container col-4 col-6-medium col-12-small" itemprop="associatedMedia" itemscope itemtype="MediaObject">

I will be grateful for any help

2 years ago

Hi @RobotWerter, I can't see the warning you're referring to in Chrome's inspector. How can I see that warning?

2 years ago

I just noticed below validator shows some uncategorized errors. You can fix those by changing (in all places):

TXT
itemscope itemtype="MediaObject"

to:

TXT
itemscope itemtype="http://schema.org/MediaObject"
👍 2
2 years ago

@Karmalakas:
https://validator.schema.org

Thanks @Karmalakas, this is the final solution. I'll fix the item template in Editorial theme as soon as possible.

👍 2

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by FrViPofm, 11 hours ago
0 19 11 hours ago
Themes & Styling · by stuart young, 1 month ago
3 480 1 month ago
Themes & Styling · by Sebadamus, 2 months ago
5 480 2 months ago
Themes & Styling · by martynfoster735, 2 months ago
1 460 2 months ago
Themes & Styling · by Justin Young, 2 months ago
1 489 2 months ago