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

Invalid value in itemtype

Solved by Karmalakas View solution

Started by Stanislav 2 years ago · 4 replies · 190 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 Sebadamus, 6 days ago
5 148 14 hours ago
Themes & Styling · by martynfoster735, 1 week ago
1 192 1 week ago
Themes & Styling · by Justin Young, 3 weeks ago
1 241 3 weeks ago
Themes & Styling · by Slebeig, 1 month ago
4 376 1 month ago
Themes & Styling · by Pedro M, 3 months ago
4 745 3 months ago