Hi kildegaard,
Thanks for contacting us,
Do you want this to be a date format show on your website?
Like this: http://prntscr.com/l9rgfo
Thanks
Hi Imran,
The correct danish format for the date should be: “22. october 2018” or shorted “22. oct. 2018”.
Btw: “October” in danish is “Oktober”, but I guess that the names of the months will automatically be translated ass well? (as it does in other themes).
The time should not be included for the post meta. I only mentioned it because it is included in the comment post meta 🙂 And there it should be formatted for 24 hours in danish – so that the english time format “4 PM” in danish time format should be “16:00”.
Thanks for your help and quick response – I enjoy your themes!
Best regards,
Andreas
Sorry, I made one mistake – the shorted format should be “22. oct 2018” and not “22. oct. 2018” 🙂
Hi kildegaard,
First of all, you will need to create a child theme, because we have to customize the code, with the help of the given link you can create a child theme.
http://webriti.com/support/discussion/2446/how-to-create-child-theme#latest
You can read more about child theme here https://codex.wordpress.org/Child_Themes
After this, you can follow the instructions given below.
Create a content.php file in your child theme package and paste the following code in the content.php file
Code link: https://pastebin.com/raw/4c5L6KuA
Then Create an index-blog.php file in your child theme package and paste the following in the index-blog.php file
Code link: https://pastebin.com/dCSfQxB7
then activate the child theme.
If you don’t need time post meta on your website, find the following code in content.php and index-blog.php file and remove this.
<?php echo get_the_time(); ?>
Any Confusion lets me know.
Thanks
Hi Imran,
Okay, thanks for your effort.
Just to be clear, I was hoping that the theme could automatically use the date/time formats selected in generel settings in the WordPress control panel as others themes do?
But that is not the case then? Maybe in a future update?
I would like to avoid using a customized child theme as there usually seems be troubles when the parent theme is updated – and I would like to be able to update the parent theme as new vesions get released 🙂
Bedst regards,
Andreas
Hi kildegaard,
Ok, We will implement this issue in the next update or new version,
Close this topic.
Thanks