Home Support Forums WordPress Landyland Formatting date and time in comments and posts

This topic contains 1 reply, has 2 voices, and was last updated by  support 6 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9330

    sasharussia
    Participant

    Hello everyone! Thanks for your work and your theme. It is very simple, very clean and pure!

    I made some cosmetic modifications in Landyland code on my site (change in a sharebox and social widgets Google+ into VK, because this social network more popular in Russia then G+), but I have two questions about date and time format in posts and comments.

    First of all, posts. By default we have the following option
    Posts

    In what theme’s file I can add time at this block? I need this one: 03.01.2018 at 11:15, etc.

    And the second question.

    Now in comment information I have this one date format
    Comments

    But I need more traditional for Russia date format as 04.01.2018 etc. How I can change it? I was searching the parameter in WordPress theme editor in comments.php Landyland file. No success. Then I was trying to change parameter get_comment_date() in wp-includes/comment-template.php. No success again. In WordPress general options I have format d.m.Y as default.

    And how I can add time in this line…

    Thank you for your answers!

    #9331

    support
    Keymaster

    Hello,
    1. date format for blog posts you can change here ->
    http://puu.sh/yUMug/0a1ea26d85.png

    2. for comments date format you need to change the code landyland/framework/theme_functions.php 277
    http://puu.sh/yUMz2/0e24e834ae.png

    If you like our theme, please rate. This is very important for us.
    Thank You

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

You must be logged in to reply to this topic.