Home User profile
tagDiv Member
Webmaster
Fenix
tagDiv Member

Here’s the 9.2 change log: https://themeforest.net/item/newspaper/5489609

misc: Full compatibility with Guttenberg and WordPress 5. We tested the theme with WordPress 5.0 Release Candidate to make sure that any problems are fixed on time for the next WordPress version.

Fenix
tagDiv Member

I am having the same issue from smartphone. Templates edit (Cloud Templates) works from PC but not on mobile, also if i use desktop mode.

Fenix
tagDiv Member

The screenshot i provides come from your live demo of single post template 39. You just need to open the preview from cloud templates.
https://cloud.tagdiv.com/forza-horizon-4/

Fenix
tagDiv Member

Hi Simon,
Thank you very much, i’ll try to apply this fix as soon as possibile.

I solved the problem with disqus, even if i can’t set it as i wish, by adding the code in the raw html element.

Regards

Fenix
tagDiv Member

Anyone?
I’m also having problems to activate Disqus comments in Cloud Templates post models. Is it possibile?

Fenix
tagDiv Member

I checked more carefully Chrome inspector reports, now i found 4 violation report for Google AdSense scripts “Avoid using document.write()”.

Fenix
tagDiv Member

The debug function should not broke your website. You should see a white/grey space on the page’s header (under the WordPress administration bar) with something written in it (only if there’s something to debug). This is its function.
Furthermore you must pay attention where you put the debug activation code, it must be in wp-config.php before the comment text I wrote in my last post.

Fenix
tagDiv Member

I finally fixed the issue. I still don’t know exactly what fixed it, but i can tell you that i activated the debug function ( define( ‘WP_DEBUG’, true ); ) and then edited some codes in wp-config.php (codes for wordpress autosave_interval and revisions: moved in the right position, above the comment /* That’s all, stop editing! Happy blogging. */ ) and changed some things in the configuration file of pool php-fpm (located in “/etc/php/7.0/fpm/pool.d/www.conf”, i edited child process settings: max, start, min and max spare).

I hope this can help you.

Fenix
tagDiv Member

Quote: 3. While try to edit TD Cloud Library tamplate, it show message “Errors happened during tdcIframeData.init() -> bindViewsModelsWrappers()!” and loading process keep rolling.

I’m having the same issue but my server settings respect the guide that Catalin provided. I’m still trying to find out the issue. If anyone has fixed this, please share your solution here, thanks.

Fenix
tagDiv Member

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

Fenix
tagDiv Member

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:
screen

Fenix
tagDiv Member

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):
screen
screen2

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).

Fenix
tagDiv Member

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”?

screen

Fenix
tagDiv Member

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) . '">';

Fenix
tagDiv Member

Ok, i’ve modified the file you showed me here: https://www.screencast.com/t/3qKH5ORt74
but the result is not what i wanted:
Screenshot

To see this result i used this Google’s tool: https://search.google.com/structured-data/testing-tool

Fenix
tagDiv Member

Mh, i understand.
Is it possible to edit them from that file?

Fenix
tagDiv Member

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.
Fenix
tagDiv Member

Anyway i still need an answer for the second topic:

I also noticed that the internal reviews vote/comment is incoherent:
screen1
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):
screen2

Fenix
tagDiv Member

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';
}

Fenix
tagDiv Member

Yes, obviously (I even use an addon to clear the cache and then use the hard refresh to reload the page).
Anyway i sent a mail at your email address.

Fenix
tagDiv Member

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?

Fenix
tagDiv Member

Fixed. It was the cache, sorry. I deactivated the cache on the production site instead of the test site xD
Now everything works fine!

Thanks again and sorry for the mistake.

Fenix
tagDiv Member

Yeah, the error was the semicolon i added at the end of the code ';.
Anyway, now it works great but only on the mobile version: the AMP has 2 versions (main classes), amp-touch and amp-mouse, so it works only on the touch version. How can i make it work in both AMP versions?

Thank you 🙂

Fenix
tagDiv Member

Hi,

I’ve tried to use the method you described but seems that it doesn’t work to me.

I have added this to style.php file:

echo '
CSS CODE
';

My CSS is a bit long, nearly 950 lines and composed by IDs and Classes. I’ve also tried to use the minified version.

Fenix
tagDiv Member

I hope that someone of the tagDiv team will answer to this post. Subscribed.

Viewing 25 posts - 1 through 25 (of 54 total)