Understrap: Purpose for itemtype on element in header.php

Created on 23 Apr 2018  路  5Comments  路  Source: understrap/understrap

Issue is about..

  • [x] a Question

What is the purpose of the following in the header.php file, on the <div id="wrapper-navbar"> element?

<div id="wrapper-navbar" itemscope itemtype="http://schema.org/WebSite">

All 5 comments

Many thanks - i'll dig into that. First time running across this...

Hi,

The schema helps machines read the markup and understand that it is a structured navigation menu. To be 100% honest I do not believe my implementation is 100% correct and I think I have lost some parts of it over time during redevelopment of the walker. If anyone has more experience with this type of schema (or a different kind but more universal) then please do comment and let me know how I can adjust it to make it better :)

Always worth trying to do a research via google before opening an issue. See https://www.google.de/search?q=schema.org%2FWebSite

Thank you @pattonwebz for breaking down the purpose in an easier to understand way than what I have researched on the web, and also for the honesty on the progression. Much appreciated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonnymaceachern picture jonnymaceachern  路  4Comments

kmob2 picture kmob2  路  4Comments

davidshq picture davidshq  路  3Comments

tim-field picture tim-field  路  4Comments

virtualimage picture virtualimage  路  3Comments