
Translating the months in release dates
In your child theme's functions.php file add the following:
function ghosptool_translate_months( $date ) { // Add all months you want translated $current_months = array( 'January', 'February', 'March', 'etc' ); // Add all your translated months in same order with their counterparts $translated_months = array( 'Enero', 'Febero', 'Marzo', 'etc' ); $translated_date = str_ireplace( $current_months, $translated_months, $date ); return $translated_date; } add_filter( 'ghostpool_post_meta_release_date', 'ghosptool_translate_months' );