Skip to main content
added 3 characters in body
Source Link

You are returnreturning the translation in your function, not printing it. usingUsing <?php echo date_translation(); ?> should solve the problem.

(given that functions.php is initiated at the time you use the function)

Edit: In order to follow Wordpress convention, you chouldshould call the function get_date_translation(). If you want the function to echo the result instead, you should call it the_date_translation()

You are return the translation in your function, not printing it. using <?php echo date_translation(); ?> should solve the problem.

(given that functions.php is initiated at the time you use the function)

Edit: In order to follow Wordpress convention, you chould call the function get_date_translation(). If you want the function to echo the result instead, you should call it the_date_translation()

You are returning the translation in your function, not printing it. Using <?php echo date_translation(); ?> should solve the problem.

(given that functions.php is initiated at the time you use the function)

Edit: In order to follow Wordpress convention, you should call the function get_date_translation(). If you want the function to echo the result instead, you should call it the_date_translation()

added 202 characters in body
Source Link

You are return the translation in your function, not printing it. using <?php echo date_translation(); ?> should solve the problem.

(given that functions.php is initiated at the time you use the function)

Edit: In order to follow Wordpress convention, you chould call the function get_date_translation(). If you want the function to echo the result instead, you should call it the_date_translation()

You are return the translation in your function, not printing it. using <?php echo date_translation(); ?> should solve the problem.

(given that functions.php is initiated at the time you use the function)

You are return the translation in your function, not printing it. using <?php echo date_translation(); ?> should solve the problem.

(given that functions.php is initiated at the time you use the function)

Edit: In order to follow Wordpress convention, you chould call the function get_date_translation(). If you want the function to echo the result instead, you should call it the_date_translation()

Source Link

You are return the translation in your function, not printing it. using <?php echo date_translation(); ?> should solve the problem.

(given that functions.php is initiated at the time you use the function)