[Plugin: WP-PostViews] Change schema.org Implementation
-
version 1.6.1’s schema.org implementation is like below:
<div>…(3 votes, average: 5.00 out of 5)<span class=”post-ratings-text” id=”ratings_7576_text”></span><meta itemprop=”name” content=”Sourceforge 安装 WordPress 教程”><meta itemprop=”description” content=”其实之前我写过在 Sourceforge 免费空间上安装 WordPress 的教程o…”><meta itemprop=”url” content=”https://www.jsxubar.info/sourceforge-install-wordpress.html”><div style=”display:none”;” itemprop=”aggregateRating” itemscope itemtype=”https://schema.org/AggregateRating”><meta itemprop=”bestRating” content=”5″><meta itemprop=”ratingValue” content=”5″><meta itemprop=”ratingCount” content=”3″><meta itemprop=”worstRating” content = “1”></div></div>
But with display:none label , search engine will not index this kind of schema.org , because this is not visible to human. I suppose to use codes like below:
<div>…<span itemprop=”aggregateRating” itemscope itemtype=”https://schema.org/AggregateRating”>(<span itemprop=”ratingCount”>3</span> votes, average: <span itemprop=”ratingValue”>5.0</span>0 out of <span itemprop=”bestRating”>5</span><meta itemprop=”worstRating” content = “1”>)<span class=”post-ratings-text” id=”ratings_7576_text”></span><meta itemprop=”name” content=”Sourceforge 安装 WordPress 教程”><meta itemprop=”description” content=”其实之前我写过在 Sourceforge 免费空间上安装 WordPress 的教程o…”><meta itemprop=”url” content=”https://www.jsxubar.info/sourceforge-install-wordpress.html”>
</span></div>I tried to change the template , but nothing changes.
Hope this will soon be fixed.
- The topic ‘[Plugin: WP-PostViews] Change schema.org Implementation’ is closed to new replies.