Tagged: , ,

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

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

    screenshot: Validator-error
    https://monosnap.com/file/ZA19WIM4NgQhjg11RA09rYLlGRp1oS

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

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

    • This topic was modified 4 years, 11 months ago by Konstantin.
    #1177975

    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()) ?>
                                    </time>
                                </a></div>
    

    Best regards,
    Ismael

    #1178006

    Many thanks

    #1178264

    Hi,

    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,
    Rikard

    #1178294

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

    #1178599

    Hi,

    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,
    Ismael

    #1178640

    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?

    https://www.ulovanet.ru/category/vidy-ryb/

    #1178649

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

    #1178867

    Hi,

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

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.