Tagged: 

Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #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?

    #481210

    Hey tunnelas,

    Which tool did you use to get those results?

    Cheers!
    Rikard

    #481362

    Hi,

    I used Google’s Structured Data Testing Tool

    Cheers,
    Bjorn

    #482126

    Hey!

    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,
    Elliott

    #482334

    Hi,

    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

    #483278

    Hey!

    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!
    Andy

    #489829

    I have a similar issue with an IMAGE in the Structured Data test I ran tonight.

    > Blog (1) 1 error
    image: missing and required

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

    #490199

    Hi!

    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,
    Elliott

    #490239

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

    #490883

    Hi!

    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,
    Elliott

    #490912

    I 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-heard

    Lots 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 required

    Hope you can raise this up the chain. Thanks for your help.

    #491739

    Just 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.
    Dave

    #493036

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

    #493507

    Hi!

    we tagged Kriesi for this thread. As he is very busy, you need to wait for his reply. Thanks for being patient.

    Regards,
    Andy

    #509815

    Hi 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,
    Hiren

    #510966

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

    #511991

    Hi!

    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!
    Ismael

    #576021

    Are these problems solved within the latest Enfold version? Or do i still have to edit the .php files?

    #576951

    Hey!

    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,
    Ismael

    #576981

    Could 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 aanbevolen

    #578860

    Hi!

    you could try to use a SEO plugin like the one of Yoast: https://yoast.com/wordpress/plugins/seo/

    Cheers!
    Andy

    #578985

    Hi, i’m allready using Yoast SEO plugin. Still 31 errors in blog pages see previous post.

    #580951

    Hey!

    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!
    Andy

    #582093

    I have got the most recent version. Login details are in the private section. Thanks allready for the help!

    #583149

    Hey!

    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,
    Ismael

    #586735

    I do not understand. The theme/structure is still Enfold. I can not imagine the content of the posts is creating these errors.

    #589596

    Hi!

    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,
    Ismael

    #596516

    Hey!

    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

Viewing 28 posts - 1 through 28 (of 28 total)
  • The topic ‘Structured Data testing Datepublised missing’ is closed to new replies.