not valid time markup
-
After install this plugin, and test on structured data testing tools i have 6 error markup on prep time, cook time, and total time (you have double markup code). i think google can’t read cause you forgot to typing time markup on your coding.
your code source:
if (!empty($prep_time)) { echo <<<HTML <div class="blog-yumprint-infobar-section"> <div class="blog-yumprint-infobar-section-title">$prep_time_text</div> <div class="blog-yumprint-infobar-section-data" itemprop="prepTime" datetime="$prep_time_standard">$prep_time <span class="value-title" title="$prep_time_standard"></span></div> </div> HTML; }
tray to add time markup like this:
if (!empty($prep_time)) { echo <<<HTML <div class="blog-yumprint-infobar-section"> <div class="blog-yumprint-infobar-section-title">$prep_time_text</div> <div class="blog-yumprint-infobar-section-data"> <time itemprop="prepTime" datetime="$prep_time_standard">$prep_time </time><span class="value-title" title="$prep_time_standard"></span></div> </div> HTML; }
i hope you can fix this plugin for another user ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘not valid time markup’ is closed to new replies.