: Can WPAdBlock be a child of WPSideBar? I want to markup my ads with schema.org microdata, but my ads reside inside a sidebar (which I think is typical?) and sometimes even within the main
I want to markup my ads with schema.org microdata, but my ads reside inside a sidebar (which I think is typical?) and sometimes even within the main content. As far as I can see WPAdBlock is a sibling of WPSideBar. So my question is, can you nest WPPageElements like that (placing the WPAdBlock inside the WPSideBar e.g.)
More posts by @Voss4911412
1 Comments
Sorted by latest first Latest Oldest Best
It does not matter how you nest elements in Microdata, unless you use a property (itemprop).
These two snippets produce the same Microdata:
<div itemscope itemtype="http://schema.org/WPSideBar">
</div>
<div itemscope itemtype="http://schema.org/WPAdBlock">
</div>
<div itemscope itemtype="http://schema.org/WPSideBar">
<div itemscope itemtype="http://schema.org/WPAdBlock">
</div>
</div>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.