Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Invalid value in itemtype

Solved by Karmalakas View solution

Started by Stanislav 2 years ago · 4 replies · 90 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 Pedro M, 2 months ago
4 196 2 months ago
Themes & Styling · by Ian, 2 months ago
3 92 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 454 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 47 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 126 3 months ago