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 9 months, 3 weeks ago.

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


    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

    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

    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!



    1. date format for blog posts you can change here ->

    2. for comments date format you need to change the code landyland/framework/theme_functions.php 277

    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.