We are currently using “product” for our reviews but the results are not optimal: we have several errors and the microdata are not appearing on the search engines. If we try using “review” we have errors as well, there still is a “product” markup appearing and creating issues.
]]>The empty action attribute is invalid markup and I’m notified via email (W3C API) every time it strikes.
My current “solution” is to alter the output buffer … $buffer = str_replace(‘class=”asp-stripe-form” action=””‘, ‘class=”asp-stripe-form”‘, $buffer);
… but this really needs to be address as I’m not convinced my fix qualifies as a non-empty, required attribute in the form.
Thanks
]]>I’m using Yoast on my WooCommerce store, and I’ve noticed an issue with the Schema markup of the review section, but only when there are no reviews on the product page.
When there are 0 reviews, it looks like this:
“aggregateRating”:{“@type”:”AggregateRating”,”ratingValue”:5,”reviewCount”:1},”review”:{“@type”:”Review”,”reviewRating”:{“@type”:”Rating”,”ratingValue”:”5″,”bestRating”:”5″},”author”:{“@type”:”Person”,”name”:””}}
As you can see, the “name” is empty, which causes pages to appear as Invalid in Google Search Console, with the error: “Missing field “name” (in “author”)”.
What can we do to fix this and avoid the errors in GSC?
Thanks!
]]>Questions:
– If I don’t need to create any configuration for any blocks, do I need to add markup code?
– In my example below, if I don’t need my client to configure anything relating to the footer, then do I need “wp:group” for any reason?
– Why do I want to include markup such as wp:group?
My footer:<!-- wp:group {
"align":"wide",
"layout":{
"type":"flex",
"orientation":"vertical",
"justifyContent":"center"
}
} -->
<div class="wp-block-group">
<!-- wp:site-title {"level":0} /-->
<!-- wp:paragraph -->
<p>Copyright</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
<!-- wp:categories -->
<li class="cat-item cat-item-9">
<a href="#">MENU</a> (1)
</li>
Looking at how this function is marked up, there is no way to customize it.
I don’t know why the post count was designed to be like this, but I have to use javascript to separate the menu and count parts.
Is there a way to do this that I don’t know about?
<li class="cat-item cat-item-9" data-count="1">
<a href="#">MENU</a>
</li>
or
<li class="cat-item cat-item-9">
<a href="#">MENU</a>
<span>1</span>
</li>
I expected something like this, but was surprised to see a completely different result.
Whatever it is, it doesn’t matter as long as there is a way to control it.
Could you please help?
]]>I have notice that some ecommerces have the product schema for every single one of them in the page where they list the products, and not only in the individual product page.
I would like to implement this in my website https://tucasetadejardin.es/ as well. How Can I do this with woo-commerce?
Ill leave you and example of it and the screen shot:?https://www.bauhaus.es/casetas-de-jardin/c/10001006
Many thanks
]]>I am trying to add CSS rules to the Addition CSS in Appearance/Customize.
It wored fine a few of weeks ago, and I made the necessary changes easily. But today I needed to make more changes and it won’t work.
For example: I want to add color to a class, and it states that the “{” and “}” are “Markup is not allowed in CSS.”.
I am using Genesis framework and Foodie Pro Classiv theme (latest versions). Everything else is also up to date.
Please yuor assistance,
Vera
]]>