WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostViews
Change schema.org Implementation (1 post)

  1. okay456okay
    Member
    Posted 1 year ago #

    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="http://www.jsxubar.info/sourceforge-install-wordpress.html"><div style="display:none";" itemprop="aggregateRating" itemscope itemtype="http://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="http://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="http://www.jsxubar.info/sourceforge-install-wordpress.html">
    </span></div>

    I tried to change the template , but nothing changes.

    Hope this will soon be fixed.

    http://wordpress.org/extend/plugins/wp-postviews/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags