Hello,
I found a bug in the Newspaper’s mobile theme. The social icon of Twitch is empty and doesn’t respect the order. I have already tried to fix it by deactivating every plugin apart tagDiv ones and uploading the latest version of tagDiv Mobile plugin.
Here’s a screenshot:

I also noticed that the internal reviews vote/comment is incoherent:

I mean the vote number inside the article is from 1 to 10 and in the rich snippet on search engine is from 1 to 5 (3,8 in the screenshot above). Can you please fix it and make it coherent?
Link this (7,3/10):

Thank you in advance.
Hello Kley,
I have tested on my side and the Twitch social icon is there and works as expected, as you can see here -> https://www.screencast.com/t/kpIj4d4w Please try to clear all the caches, purge CDN files if you are using the Cloudflare and check the results.
Thanks.
I don’t know why but this problem is also on my demo site, not only on my production site. This happen even with CDN (CloudFlare: Cache+Minify), Cache and all external plugins deactivated and exclusively on the Twitch icon. I’ve also cleared the custom mobile CSS and re-installed the tadDiv mobile plugin.
Anyway, what about the rich snippet problem?
Hello Kley,
Do you have cleared all the browser caches? Try CTRL+SHIFT+R. If the problem is still there, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further inspect it closer your setup page. Provide there the link to this topic so we can quickly identify you.
Thanks.
Here’s the tagDiv’s answer for who want to resolve this issue:
There is an issue with Twitch icon using Mobile Theme plugin.
Please add this css in stylesheet file from mobile folder – https://www.screencast.com/t/ieRgAAW7
.td-icon-twitch:before {
content: '\e909';
}
Anyway i still need an answer for the second topic:
I also noticed that the internal reviews vote/comment is incoherent:

I mean the vote number inside the article is from 1 to 10 and in the rich snippet on search engine is from 1 to 5 (3,8 in the screenshot above). Can you please fix it and make it coherent?
Link this (7,3/10):

Hi,
The posts have an option for you to create a review
– https://forum.tagdiv.com/reviews-2/
But there is no voting option, maybe I am misunderstanding something. The review is created and rated by the post author and displayed in the post page. Modules will show the review stars if enabled in the theme panel.
I meant the vote shown on Google review snippet (as you can see from the two screenshots above: first one from my website and the second from another one).
I’m using your review vote system, but if i put a vote of “9/10”, on Google the article’s snippet shows “4,5/5” that is incoherent with the vote inside the article. I want that the vote outside is coherent with the inside one.
-
This reply was modified 8 years by
Fenix.
Could be because the review of the theme is limited to a value of 5 maximum stars, which would be equivalent to a 10 rating. You could consider using a different review implementation, like with a review plugin for more advanced review settings.
The theme markup for reviews has a maximum of 5
– https://www.screencast.com/t/3qKH5ORt74
Ok, i’ve modified the file you showed me here: https://www.screencast.com/t/3qKH5ORt74
but the result is not what i wanted:

To see this result i used this Google’s tool: https://search.google.com/structured-data/testing-tool
I want that the ratingValue show the review rating (1-10), not the stars number (1-5).
I think i need to edit this code to get the review rating instead of calculate the total stars:
$buffy .= '<meta itemprop="ratingValue" content = "' . td_review::calculate_total_stars($this->td_review) . '">';
Hello Kley,
I’m sorry for this but please notice that what you want to do involves doing such additional customization which is not covered by our support, unfortunately! I suggest you hiring a freelancer/developer to help you! Usually, we recommend the developers from studio.envato.com.
Thanks.
I’m sorry but i think this isn’t a customization. This is a correction. The template vote is incoherent with the vote showed on the search engine results. If i put a vote of 7 out of 10 in the Review Page Settings then on Google you’ll see 3,5/5 and not the original vote like in every other site of my same category.
So why should i pay to fix a “bug”?

Hello Kley,
Sorry but please notice that section does not come from our theme and cannot be managed by our theme settings, sorry! You should try using a Seo Yoast plugin if you want to have more settings about this case. Also, you can read here -> http://www.bytekmarketing.it/google-utilizza-le-recensioni-personalizzare-le-serp/
Thanks.
Ehm, No…it’s a theme’s function not an external plugin. I even copied here the code in the template’s core file (https://www.screencast.com/t/3qKH5ORt74)
$buffy .= '<meta itemprop="ratingValue" content = "' . td_review::calculate_total_stars($this->td_review) . '">';
That code is generating this (example screenshots):


Code in the article (as you can see it is generated by the theme):
<span class="td-page-meta" itemprop="reviewRating" itemscope itemtype="https://schema.org/Rating"><meta itemprop="worstRating" content="1"><meta itemprop="bestRating" content="10"><meta itemprop="ratingValue" content="3.3">
So the problem isn’t mine, but the code is wrong. Here’s an explaination of what ratingValue is “The rating the reviewer gave” (source: https://yoast.com/rich-snippets-product-listings/). Well, right now the ratingValue doesn’t rappresent my vote, but the number of stars that i’m not even using (I’m using Point vote, not Stars).
Hello Kley,
So, please notice that Google allows you only a rating from 1 to 5 stars and our theme has more possibilities to give a review for 1 to 10 (for points). So, if you look at the following example -> https://www.screencast.com/t/PoAT9NcWvf you will see that exists two scores. The first one is generated by the post review and the second one is the review you-re showing the Google SERP which is identically but calculated on another scale (from 1 to 5). So, if you want to have the same review you should make the following change from td_review.php like this -> https://www.screencast.com/t/okcyo8mxSF
Clear all the caches and check the results.
Thanks for your understanding!
You are essentially converting the normal vote from 1-10 to 1-5…
I’m not interested to the stars vote. I’m talking about the vote number that appear on the Google Rich Snippet (its located to the right of the stars – number 3,8 on the screenshot). What i want is to show the vote number (from 1 to 10 to the right of the stars) instead of stars number (from 1 to 5). That’s all.
Like this:

Hello Kley,
Sorry but please notice that section is not controlled by our theme and we cannot make these changes, unfortunately! As you want to do involves additional customizations which are not covered by our support, please understand this case! For more references about this case, please check the following topic from here -> https://developers.google.com/search/docs/data-types/review -> https://developers.google.com/search/docs/guides/mark-up-content
Thanks for your understanding!
Catalin, it’s clear that the code regarding “ratingvalue” meta prop needs to be rewritten in order to allow Google to fetch “ratingValue” consistently with the rating system used by the end user. I don’t get the why you designed the code to normalize grades in a 1 to 5 stars format and let Google fetch THIS VALUE instead of my explicit 1 to 10 votes. Google allows every kind of vote, not just in stars from 1 to 5, but also in grades like A+ to F-, in 1 to 10, in percentages: your “Post settings” module acts accordingly to this implementation, but then forces the end-user to use a star system – since it’s otherwise going to be incoherent.
This section down here has been oversimplified in order to keep the code as simple and straightforward as possible, but it makes the rating system incoherent.
$buffy .= '<span class="td-page-meta" itemprop="reviewRating" itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Rating">';
$buffy .= '<meta itemprop="worstRating" content = "1">';
$buffy .= '<meta itemprop="bestRating" content = "5">';
$buffy .= '<meta itemprop="ratingValue" content = "' . td_review::calculate_total_stars($this->td_review) . '">';
$buffy .= ' </span>';
There’s no point in allowing the user to choose which system to adopt if you force his pages to be fetched as per-design.
EITHER:
A) you remove the 1 to 10 or percentages based vote altogether, making the system unflexible;
B) you rewrite the code adding more variables and letting the user truly decide once and for all which rating convention should be adopted;
C) you leave the system half-baked, as it is right now, disappointingly.
Looking forward for your kind reply
Alessandro
