Tagged: schema.org
-
AuthorPosts
-
July 30, 2015 at 9:49 pm #480970
Hi,
I just performed a Structured Data test on my site and it says that on all my blog posts datepublished and image is missing.
Any solutions?
July 31, 2015 at 10:11 am #481210July 31, 2015 at 3:07 pm #481362Hi,
I used Google’s Structured Data Testing Tool
Cheers,
BjornAugust 3, 2015 at 2:58 pm #482126Hey!
I checked your posts and they are displaying fine. Is there a certain post where your using the advanced layout builder? I can see why Google would give you those errors on one of those posts because the date or featured image is not displayed at all on those. If it’s important to you then you’ll want to switch back to the default editor or add that info in manually with a textblock / codeblock element. All you need to do is give the element a class of “updated” and Google will see it (for the post date).
Regards,
ElliottAugust 3, 2015 at 5:55 pm #482334Hi,
I’m using the advanced layout builder in most of the posts. So maybe you are right.
If I understand Google right, having the structured data correct will enhance the search results. Can you confirm?
I’m not the best programmer, so I need some more help how to do it. If I choose to use the codeblock element. Can you please tell me step by step what I need to do?
For example:
Put codeblock element below picture. Add the following code: ………Thanks for your help :)
Bjorn
August 5, 2015 at 12:54 pm #483278Hey!
Please refer to this link: https://kriesi.at/support/topic/headersharerelatedcomments-on-post-with-avia-layout-builder/#post-352957
You don’t need to be a programmer to be able to add date into a textblock element :).
Just add a textelement and put the date in question into it. Add an image element to add your image in question.Cheers!
AndyAugust 19, 2015 at 6:08 am #489829I have a similar issue with an IMAGE in the Structured Data test I ran tonight.
> Blog (1) 1 error
image: missing and required1) I have the featured image set. It’s a good size image: 700 × 311
2) It set everything else, just not the image?
Not using the advanced editor… but that shouldn’t matter.
3) Updated the enfold theme tonight (to 3.2.3) because I was having a different snippet issue – something like the “Blog is not a known valid target type” for the “mainContentOfPage property” but the update fixed this issue… but still have the image issue.Thanks in advance for your help.
August 19, 2015 at 4:26 pm #490199Hi!
You need to add a itemprop = “image” to the tag like so.
<img itemprop="image" src="thumbnail1.jpg" alt="thumbnail 1 summary"/>
Or add this inside a codeblock element in the page.
<div vocab="http://schema.org/" typeof="NewsArticle"> <meta property="image" content="thumbnail1.jpg"/> <meta property="datePublished" content="2015-02-05T08:00:00+08:00"/> </div>
Best regards,
ElliottAugust 19, 2015 at 5:10 pm #490239So for EVERY post I need to add this custom code? Seems backwards. Shouldn’t this be in the theme? Perhaps a function.php item?I would think this should be addressed by the theme before I add this to every post, no?
August 20, 2015 at 4:25 pm #490883Hi!
It is if your using the default editor but of course with the layout builder those elements are not getting added to the post so you need to add them in manually.
It would be best to use the default editor if you want your posts to behave like regular posts and not pages.
Regards,
ElliottAugust 20, 2015 at 5:04 pm #490912I disagree because I am using the default editor and its not adding it to the schema. And I do have a featured image on my pages… but this throws an error on Google’s Structured Data Testing Tool.
Have you checked your own blog?
https://developers.google.com/structured-data/testing-tool/
then test a random blog post on kriesi.at (your URL)
http://kriesi.at/archives/7-wordpress-podcasts-that-demand-to-be-heardLots of errors on your pages too – but primarily the same one with the image. While I know you made some schema bug fixes in June, I don’t know if they have been fixed for this issue.
Oh and you can try it on this post too:
http://kriesi.at/themes/enfold-blog/2014/08/24/a-nice-entry/Just two random ones on your site & both have the
image: missing and requiredHope you can raise this up the chain. Thanks for your help.
August 22, 2015 at 5:41 pm #491739Just hoping #kriesi can address this inconsistency. Something seriously looks broken or not supported in Enfold (or other Kriesi themes) when it would be a powerful addition to the blog setup (giving controls in the setup) or making it default in functions.php (if that’s where it can be controlled). Holding off until I hear if this can be investigated as a fix to the schema support Kriesi offers. Thanks.
DaveAugust 25, 2015 at 4:01 pm #493036Anyone able to raise this issue with @kriesi – don’t want to go into single posts and update everyone with a snippet of code that should be handled a more efficient manner with the theme. Please advise. Thanks.
August 26, 2015 at 12:54 pm #493507Hi!
we tagged Kriesi for this thread. As he is very busy, you need to wait for his reply. Thanks for being patient.
Regards,
AndySeptember 28, 2015 at 6:36 am #509815Hi Guys, any update on this. I am getting exactly the same error as Dave.
Everything else is right in terms of the structured data but the “image: missing and required”.
1. Yes, using default editor
2. Yes featured image is uploaded for every blog post.You can check it here: https://hikepos.com/blog
Please advise.
Regards,
HirenSeptember 29, 2015 at 7:58 pm #510966Nope. I haven’t seen any update. However, this needs to be updated by #kriesi because it’s a requirement for any theme these days. This improvement needs some love – please.
October 1, 2015 at 8:30 am #511991Hi!
Sorry for the delay. Please edit comments.php file, look for this code around line 70:
<div class='comment_container'>
.. replace it with:
<div class='comment_container' itemscope='itemscope' itemtype='https://schema.org/UserComments'>
Modify includes > loop-index.php, look for this code on line 109:
if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
Below, add this:
echo "<meta itemprop='image' content='{$link}'></meta>";
Cheers!
IsmaelFebruary 1, 2016 at 9:34 pm #576021Are these problems solved within the latest Enfold version? Or do i still have to edit the .php files?
February 3, 2016 at 8:26 am #576951Hey!
Not all websites require data URI scheme but the theme includes basic schema or rich snippet structures which you can modify via template or by using the available filter. Example here:
https://kriesi.at/support/topic/error-structured-data/#post-511934
And yes, you still have to do the modifications above.
Regards,
IsmaelFebruary 3, 2016 at 9:09 am #576981Could you help me out please? The only errors i get are in blog pages.
https://developers.google.com/structured-data/testing-tool/author: ontbreekt en is vereist
image: ontbreekt en is vereist
name: ontbreekt en is vereist
publisher:ontbreekt en is vereist
dateModified:ontbreekt en wordt aanbevolen
mainEntityOfPage: ontbreekt en wordt aanbevolenFebruary 5, 2016 at 11:53 pm #578860Hi!
you could try to use a SEO plugin like the one of Yoast: https://yoast.com/wordpress/plugins/seo/
Cheers!
AndyFebruary 6, 2016 at 11:38 am #578985Hi, i’m allready using Yoast SEO plugin. Still 31 errors in blog pages see previous post.
February 10, 2016 at 10:47 am #580951Hey!
please deactivate all plugins, to check if one is causing this issue. Send us admin access, so we can take a deeper look into it. make sure to use newest theme and WordPress version.
Cheers!
AndyFebruary 12, 2016 at 8:51 am #582093I have got the most recent version. Login details are in the private section. Thanks allready for the help!
February 15, 2016 at 7:51 am #583149Hey!
I’m sorry but we won’t be able to help you with this. Different websites require different schema structure. You will have to hire a freelance developer to configure the data structure based on the current post / page layout of the site. Please contact codeable: http://kriesi.at/contact/customization
Best regards,
IsmaelFebruary 21, 2016 at 8:06 pm #586735I do not understand. The theme/structure is still Enfold. I can not imagine the content of the posts is creating these errors.
February 26, 2016 at 9:00 am #589596Hi!
Yes, unfortunately, the theme’s basic markup helper can’t handle thousands of combinations of elements. And the blog grid style is not fully configured to work with schema structures. It will require a few modifications based on the current element combinations which, I’m said to say, we can’t provide here. Can you imagine supporting 80,000+ websites with different page structures and requires different schema datas (recipe, blog, music etc)? We will improve the basic scheme markup of the grid style but for now, you will have to contact a freelance developer to modify the config-templatebuilder > aviashortcodes > postslider.php file.
Regards,
IsmaelMarch 10, 2016 at 7:24 pm #596516Hey!
I was able to fix the basic versions of the blog like default view and grid view. However I am afraid if you are using the advanced layout editor there is little chance we are able to properly create all the correct meta data because of what Ismael said.
I am closing this thread for now. If you are encountering any problems with your default blog posts schema after updating to 3.5 (will arrive at the beginning of next week) please open a new thread :)
Best regards,
Kriesi -
AuthorPosts
- The topic ‘Structured Data testing Datepublised missing’ is closed to new replies.