Hi snowme
It needs PHP
Please open functions.php
Code, begins as follows:
<?php
/**
* functions and constants for Raindrops theme
*
*
* @package Raindrops
* @since Raindrops 0.1
*/
Change below
<?php
// date customize code start
add_filter( 'get_the_date', 'change_modified_date' );
function change_modified_date( $the_date ) {
$d = get_option( 'date_format' ) . ' ' . get_option( 'time_format' );
return get_the_modified_date( $d );
}
//date customize code end
/**
* functions and constants for Raindrops theme
*
*
* @package Raindrops
* @since Raindrops 0.1
*/
Thank you.
Thread Starter
snowme
(@snowme)
Hey thanks for replying. I added the PHP function to my child theme’s functions.php and it successfully changed the date, but it still said “Posted on” before the date.
I wasn’t sure how to change it in my own functions.php but I did find the line in the main themes functions.php and edited there. I know this will be overwritten the next time the theme is updated.
Do you have a way to edit that text?
Thanks for your help.
Recommend child theme
download below
http://tenman.info/download/child-raindrops.zip
Add code child theme / functions.php
I know this will be overwritten the next time the theme is updated.
You can use the child theme, your customizations are maintained to update the parent theme.
Thread Starter
snowme
(@snowme)
Hi,
I was already using a child theme, but wasn’t sure what lines to copy over but I think I figured it out. Thank you for your quick responses. You’ve been very helpful.