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">
@blachawk It's a generic opening Structured Data element. Here's more about Structured Data:
https://moz.com/learn/seo/schema-structured-data
https://developers.google.com/search/docs/guides/intro-structured-data
https://moz.com/blog/structured-data-for-seo-1
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.