Google Warning Breadcrumb
-
Hi!
Google published an article where they told that was going to deprecate 6 April of 2020 . Since this time, each Website would have to useschema.org
, otherwhise SEO will be affecting.
Google sent a warning to Google Search Console too.
This is the article -> https://webmasters.googleblog.com/2020/01/data-vocabulary.html . Here, they explained how fixing it too.
I have been checking the code of theme and I noticed that the cause of warning is in breadcumb.php
global $post; $home_link = esc_url(home_url('/')); $link_before = '<span itemscope itemtype="https://data-vocabulary.org/Breadcrumb">'; $link_after = '</span>'; $link_attr = ' itemprop="url"'; $link_in_before = '<span itemprop="title">'; $link_in_after = '</span>'; $link = $link_before . '<a>' . $link_in_before . '%2$s' . $link_in_after . '</a>' . $link_after; $frontpage_id = get_option('page_on_front'); $parent_id = $post ? $post->post_parent:''; $sep = ' ' . $sep_before . $sep . $sep_after . ' ';
Could you fix it? Thanks
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Google Warning Breadcrumb’ is closed to new replies.