-
Author
-
October 17, 2018 at 07:06 #211718
Dexo
ParticipantHello,
When I ran the Google Structured Data Tool, I received errors in the Article schema for Posts. This is not affecting the pages as far as I can tell, just the blog posts. I see that is also doing the same on your demo. I have attached a screen shot of the errors.
This is the tool I use for testing the schema.
https://search.google.com/structured-data/testing-tool/u/0/
Thanks again for all that you do.
October 17, 2018 at 20:06 #211759Laura
ModeratorHello, have you tested using yoast seo plugin? this could help setting up metadata por posts and pages
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 17, 2018 at 20:39 #211765Dexo
ParticipantHi Laura,
Thanks for replying. Yes, I use Yoast and am still getting those errors after I disable it. There are not any settings in Yoast to map those fields. The pages work fine, it is just the posts giving the schema errors. It’s not good for SEO.
October 18, 2018 at 13:10 #211803Laura
ModeratorHello, have you tried https://wordpress.org/plugins/schema/ ? Hope it helps 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 18, 2018 at 19:11 #211833Dexo
ParticipantHi Laura,
I use a paid schema plugin already. The problem is that it creates a second “Article” schema that is correct while the one with the errors still remains.
I think Kleo is awesome. All I am trying to do is let you all know that the errors exist. Like I mentioned above, the other schemas work correctly.
October 19, 2018 at 16:04 #211857Laura
ModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 19, 2018 at 18:05 #211869Radu
ModeratorHI,
I cannot see your article page cuz it’s maintenance mode, i need an account to can see it.
What Url did you had used on the google structured tool for test ? any post url ?
You can provide to me the FTP and wp admin to can take a closer look at that in a private reply.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 19, 2018 at 18:58 #211873Dexo
ParticipantHi Radu,
Thank you. Yes, there are schema errors in all of the posts. It also shows the same errors in your demo site which I provided links below. Here is my staging site. It’s a duplicate of the live site so you can do it it what you like.
Here is the tool I am using: https://search.google.com/structured-data/testing-tool#
Website:https://staging-hroxbo167.kinsta.com
User: Radu
PW: Seventh_Queen417Example post: https://staging-hroxbo167.kinsta.com/herpes-cure-scams-please-stop/
Here is a blog post from your demo:
Post:https://seventhqueen.com/themes/kleo/blog/courses/creativity-innovation/
Thanks again,
Bill
October 22, 2018 at 13:14 #212007Radu
ModeratorHi,
I see i will forward to the developer that, you an use this function to stop our schema to be added
to body.The code will be added in wp-content/themes/kleo-child/functions.php
COPY CODE/* SQR Remove Schema org for body */ if ( ! function_exists( 'kleo_get_schema_org_markup' ) ) { function kleo_get_schema_org_markup() { $schema = 'http://schema.org/'; if ( is_singular( 'post' ) ) { $type = "Article"; } elseif ( is_singular( 'portfolio' ) ) { $type = "VisualArtwork"; } elseif ( function_exists('bp_is_active') && bp_is_user() ) { $type = 'ProfilePage'; } elseif ( is_author() ) { $type = 'ProfilePage'; } // Is search results page elseif ( is_search() ) { $type = 'SearchResultsPage'; } else { $type = 'WebPage'; } $type = apply_filters( 'kleo_schema_org_type', $type ); // return 'itemscope itemtype="' . $schema . $type . '"'; } }Let me know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 24, 2018 at 13:49 #212118Radu
ModeratorNo problem
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.