I would like to know how to replace the “7 months ago” (or whatever time is that) phrase that appears near every post title with the actual time, in a format like “15th September 2017 · 6:30 pm” or “15/09/2017”, and also how to get rid of the “1 min read” phrase (or at least how to translate it into my language, i.e., Italian).
Thank you a lot,
Thank you for your question.
To achieve this, you have to develop custom code in the child theme of Gillion theme.
Developing custom code for custom functionality is beyond the scope of support that we provide here.
If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Shufflehound recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5
If anyone is interested, here’s the way to do the trick:
Appearance > Editor > Select theme to edit (select Gilion) > inc > helpers_blog.php
“helpers_blog.php” is the file that contains the code for the date format.
Look for any line that looks like:
<?php echo human_time_diff( get_the_time(‘U’), current_time(‘timestamp’) ) . ‘ ‘ . esc_html__( ‘ago’, ‘gillion’ ); ?>
and replace it with:
<?php echo ( get_the_date() ); ?>
The only problem is that this works for the parent theme but not in the child theme, so you have to modify the file everytime Gillion gets an update.