Tagged: BlogPosting, ImageObject, structured data, yigit
-
AuthorPosts
-
April 13, 2018 at 1:07 pm #941474
Hi,
I tagged Yigit to the thread. Please wait for his response. :)
Best regards,
IsmaelMay 5, 2018 at 3:46 pm #952123Hi Yigit!
I guess Ismael forgot to tag you about this issue..
With the latest Enfold version the Google structured data testing tool result in one error:
“image A value for the image field is required.”I allready have the following modification in functions.php:
(The property blogpost is not recognised by Google for an object of type Blogposting.)add_filter('avf_markup_helper_attributes', 'avf_markup_helper_attributes_modified', 10, 2); function avf_markup_helper_attributes_modified($attributes, $args) { if($args['context'] == 'entry') { //* If main query, if ( is_main_query() ) unset($attributes['itemprop']); } if($args['context'] == 'content') { if (is_singular('post') || is_archive() || is_home()) { $attributes['itemprop'] = 'mainEntity'; } } return $attributes; }
For the homepage i receive a couple of warnings:
height
1200 (The property height is not recognized by Google for an object of type BlogPosting.)
width
2560 (The property width is not recognized by Google for an object of type BlogPosting.)- This reply was modified 6 years, 6 months ago by Dutchman.
May 8, 2018 at 5:22 am #953072Hi,
I already tagged Yigit to the thread. Please wait for his response. I’ll notify him again. :)
Best regards,
IsmaelMay 8, 2018 at 8:22 pm #953527May 8, 2018 at 8:34 pm #953532Hi Yigit,
Please take a look at the private data in response from May 5, 2018 at 3:46 pm- This reply was modified 6 years, 6 months ago by Dutchman.
May 8, 2018 at 10:15 pm #953578Hi,
Thanks, those are WP admin logins and they are working but we need FTP logins to access files on your server. Could you please send those as well?
Best regards,
YigitMay 8, 2018 at 10:54 pm #953605Hi Yigit,
You can edit functions.php from editing through Appearance, Editor panel. I have to temp disable the Universal Video Player plugin (somehow it blocks the editting)
Theme language is English now.
Ok?- This reply was modified 6 years, 6 months ago by Dutchman.
May 9, 2018 at 8:42 pm #954143Hi,
I changed following code in enfold/includes/loop-index.php
if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>'; if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>';
to following
if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'" itemprop="url">'.$slider.'</a>'; if($slider) echo '<div class="big-preview '.$blog_style.'" itemprop="image" itemscope="itemscope" itemtype="https://schema.org/ImageObject">'.$slider.'</div>';
Best regards,
YigitMay 15, 2018 at 7:07 pm #957184Thanks Yigit,
Can you check out my homepage as wel? Is this fix going to be in the next Enfold update?
warningheight
1200 (Google herkent de property height niet voor een object van het type BlogPosting.)
warningwidth
2560 (Google herkent de property width niet voor een object van het type BlogPosting.)
Even Enfold demo has (12) errors: https://kriesi.at/themes/enfold-2017/May 24, 2018 at 5:42 pm #961739Hi,
Please go to wp-content/themes/enfold/includes/helper-markup.php via FTP and try deleting following lines
<span itemprop='height' >{$url_h}</span> <span itemprop='width' >{$url_w}</span>
I tried in Appearance > Editor but it did not save :)
Best regards,
YigitOctober 16, 2018 at 8:49 am #1022037Hi!
Is this issue going to be fixed in the next Enfold update?
(Even Enfold demo has (12) errors: https://kriesi.at/themes/enfold-2017/ in the structured data testing tool)October 16, 2018 at 9:42 pm #1022409Hi,
That is not yet added to be solved but we are working on how we can fix those issues yes.
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.