Commit 27a2ea09 authored by Vadim's avatar Vadim

Version: 2.10.2

* Удалил микроразметку в рейтинге
parent 07e57030
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Plugin Name: Bg Az-Counter Plugin Name: Bg Az-Counter
Plugin URI: https://bogaiskov.ru Plugin URI: https://bogaiskov.ru
Description: Подсчет количества посещений страниц на базе stat.azbyka.ru Description: Подсчет количества посещений страниц на базе stat.azbyka.ru
Version: 2.10.1 Version: 2.10.2
Author: VBog Author: VBog
Author URI: https://bogaiskov.ru Author URI: https://bogaiskov.ru
License: GPL2 License: GPL2
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
if ( !defined('ABSPATH') ) { if ( !defined('ABSPATH') ) {
die( 'Sorry, you are not allowed to access this page directly.' ); die( 'Sorry, you are not allowed to access this page directly.' );
} }
define('BG_COUNTER_VERSION', '2.10.1'); define('BG_COUNTER_VERSION', '2.10.2');
define('BG_COUNTER_LOG', dirname(__FILE__ ).'/bg_counter.log'); define('BG_COUNTER_LOG', dirname(__FILE__ ).'/bg_counter.log');
define('BG_COUNTER_STAT_COUNTERS','https://stat.azbyka.ru/counters'); define('BG_COUNTER_STAT_COUNTERS','https://stat.azbyka.ru/counters');
......
...@@ -93,14 +93,7 @@ echo <<<HTML ...@@ -93,14 +93,7 @@ echo <<<HTML
<li></li> <li></li>
<li></li> <li></li>
</ul> </ul>
<span itemscope="" itemtype="http://schema.org/AggregateRating"> <span>
<meta itemprop="bestRating" content="5" />
<meta itemprop="worstRating" content="1" />
<meta itemprop="author" content="{$author}" />
<meta itemprop="itemReviewed" content="{$page_title}" />
<meta content="{$score}" itemprop="ratingValue">
<meta content="{$votes}" itemprop="ratingCount">
(<span id="bg_counter_votes">{$votes}</span>&nbsp;<span id="bg_counter_votes_txt">{$txt_votes}</span>:&nbsp;<span id="bg_counter_score" data-voted="{$alreadyVoted}">{$score}</span>&nbsp;из&nbsp;<span id="bg_counter_rating_max">5</span>) (<span id="bg_counter_votes">{$votes}</span>&nbsp;<span id="bg_counter_votes_txt">{$txt_votes}</span>:&nbsp;<span id="bg_counter_score" data-voted="{$alreadyVoted}">{$score}</span>&nbsp;из&nbsp;<span id="bg_counter_rating_max">5</span>)
</span></div> </span></div>
<div id="bg_counter_popup_help"></div> <div id="bg_counter_popup_help"></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment