-
AuthorPosts
-
January 23, 2020 at 11:24 am #1177542
Валидатор Validator.w3.org – показывает ошибку <time> у Заголовков и Комментариев…
screenshot:
https://monosnap.com/file/ZA19WIM4NgQhjg11RA09rYLlGRp1oSurl: https://www.ulovanet.ru/lovlya-sudaka-zimoj-na-balansir/
Как можно это исправить?
- This topic was modified 4 years, 11 months ago by Konstantin.
January 24, 2020 at 4:21 am #1177975Hey Konstantin,
Thank you for the inquiry.
You have to modify the includes > loop-comments.php file to adjust the date format. Look for this block of code around line 40:
<!-- display the comment metadata like time and date--> <div class="comment-meta commentmetadata"> <a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"> <time <?php /* avia_markup_helper(array('context' => 'comment_time'));*/ ?> > <?php printf(__('%1$s at %2$s','avia_framework'), get_comment_date(), get_comment_time()) ?> </time> </a></div>
Best regards,
IsmaelJanuary 24, 2020 at 7:27 am #1178006Many thanks
January 25, 2020 at 8:17 am #1178264Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardJanuary 25, 2020 at 9:41 am #1178294Categories and Tags have the same problem … Do they have a <time> tag where to fix it?
January 27, 2020 at 8:53 am #1178599Hi,
Thank you for following up.
You may need to modify the archives.php file or the includes > loop-index.php file. Look for this code around line 341:
echo "<time class='date-container minor-meta updated' >".get_the_time(get_option('date_format'))."</time>";
Best regards,
IsmaelJanuary 27, 2020 at 11:27 am #1178640Doesn’t help: I changed the loop-index.php
Changed <time> to <span>.Need to change the slide-meta-time. Where can I find this file?
January 27, 2020 at 12:07 pm #1178649Found … It was necessary to change the postslider.php file
January 28, 2020 at 5:37 am #1178867 -
AuthorPosts
- You must be logged in to reply to this topic.