Tagged: , , ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #1177542

    Валидатор Validator.w3.org – показывает ошибку <time> у Заголовков и Комментариев…

    screenshot: Validator-error

    url: https://www.ulovanet.ru/lovlya-sudaka-zimoj-na-balansir/

    Как можно это исправить?

    • This topic was modified 1 year, 8 months ago by  Konstantin.

    Hey 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()) ?>

    Best regards,


    Many thanks



    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,


    Categories and Tags have the same problem … Do they have a <time> tag where to fix it?



    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,


    Doesn’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?



    Found … It was necessary to change the postslider.php file



    Thanks for the update. Please let us know if you should need any further help on the topic.

    Best regards,

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.