wordpress - "Blog is not a known valid target type for the mainContentOfPage" -
blog not known valid target type maincontentofpage property.
i have tried many optins set maincontentofpage property on http://www.thecreativedev.com
i have
<div itemprop="maincontentofpage" itemscope="itemscope" itemtype="http://schema.org/blog"> --> outside loop <div itemscope="itemscope" itemtype="http://schema.org/blogposting" itemprop="blogpost"> --> in loop but no solution worked. tried solution provided on best way markup "maincontentofpage"?
anyone can me in this?
i suspect don’t want use maincontentofpage property. it’s not useful average webpage, because expects webpageelement value (which represents things navigation, footer or sidebar), not actually main content of page (like blog post).
if want denote blog primary thing webpage (e.g., on blog’s homepage), might want use mainentity property (and other direction, inverse property mainentityofpage).
it (using microdata):
<body itemscope itemtype="http://schema.org/webpage"> <section itemprop="mainentity" itemscope itemtype="http://schema.org/blog"> <article itemprop="blogpost" itemscope itemtype="http://schema.org/blogposting"></article> <article itemprop="blogpost" itemscope itemtype="http://schema.org/blogposting"></article> <article itemprop="blogpost" itemscope itemtype="http://schema.org/blogposting"></article> </section> </body>
Comments
Post a Comment