-
AuthorPosts
-
January 16, 2014 at 12:14 am #6126
Richard RParticipantHi,
I’m wanting change the date format in the post meta. Specifically, I want to change it to dd month yyyy.
Thanks
January 16, 2014 at 12:40 am #6128
KoryKeymasterHey Richard,
Thanks for writing in! We’ll be happy to show you how to do this, but it will require setting up a child theme to alter some of the theme’s functionality. There’s an article in the Knowledge Base about how to do this, and you can find it here. Once you have it setup and can confirm that everything is working, let us know and we’ll let you know what to do next.
Thanks!
January 17, 2014 at 9:52 pm #6533
JustinParticipantI’m also interested in doing this. Child theme is set up and ready to go to make this change & also change the comments link from permalink/#comments to permalink/#disqus_thread as per this thread: http://theme.co/x/member/forums/topic/custom-read-more-button-and-tags-color/
Cheers.
January 18, 2014 at 1:12 am #6559
KoryKeymasterHey Justin,
We will be happy to help you with the Disqus comments in the other thread! Before we begin, the same question applies here, first let us know which Stack you’re using as this will determine which files we overwrite.
Thanks!
January 18, 2014 at 5:10 am #6583
Richard RParticipantHi,
Child theme is all setup. I’m using renew stack.
What actions do I need to take next to change the date format in post meta?
Thanks.
January 18, 2014 at 5:36 am #6585
RubinKeymasterHey Richard,
go to /framework/functions/global/renew.php and look for line 104.
esc_html( get_the_date( 'm.Y' ) )
change it to:
esc_html( get_the_date( 'd.F.Y' ) )
Hope this helps!
January 18, 2014 at 5:44 am #6587
Richard RParticipantNo need for the child theme then …
Thank you very much. Worked perfectly.
January 18, 2014 at 6:24 am #6588
RubinKeymasterHey Richard,
We recommend that you use the child theme, otherwise when you update the theme all your changes will be gone. Glad it works now. If you need anything else let us know!
January 19, 2014 at 8:35 am #6728
Richard RParticipantOK,
I’ve copied the whole function of “Entry Meta” from the renew.php into the functions.php of the child theme.Seems to be working fine – have I done this correctly?!
January 19, 2014 at 8:48 am #6730
RubinKeymasterHey Richard,
Are you trying to use a child theme? Then no. The idea of a child theme is that it mirrors the parent theme and only files that you want to change get copied over to the child theme. So you would copy /framework/functions/global/renew.php into your child theme and open the file make the edits and save it. So the file in the child theme will overwrite the file in the parent theme as long as you have that file in the child theme. So whenever you update the parent theme nothing will happen to the child theme. Hope this helps!
January 19, 2014 at 9:12 am #6735
Richard RParticipantThanks
January 19, 2014 at 9:29 am #6739
RubinKeymasterNo problem, if you need anything else let me know!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-6126 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
