I have created a folder called âlanguagesâ in my child theme directory and added a: da_DK.po and a da_DK.mo file generated using POedit.
I have created a functions.php file in my child theme directory and added the following lines of code (as guided here: http://codex.wordpress.org/Child_Themes):
<?php
/**
* Setup My Child Themeâs textdomain.
*
* Declare textdomain for this child theme.
* Translations can be filed in the /languages/ directory.
*/
function my_child_theme_setup() {
load_child_theme_textdomain( âifeaturepro5-childâ, get_stylesheet_directory() . â/languagesâ );
}
add_action( âafter_setup_themeâ, âmy_child_theme_setupâ );
?>
This causes two issues:
1. I cannot log into my wordpress admin area
2. Trying to add a comment front end causes an error or a blank page.
When deleting the custom functions.php file in the child theme directory everything turn back to normal.
What have I entered wrong in my custom functions.php file shown above?
You are using weird quotes:
use this: