Hello,
I have changed the hosting and the domain for a new page.
With the new hosting I get white screen after Password Request e.g. when the child-theme is activated.
I have already created a new wp-config.php without BOM.
Renaming the child theme folder makes it possible to login successfully into the backend.
The functions.php is:
<?php
// Queue parent style followed by child/customized style
add_action( 'wp_enqueue_scripts', 'unite_enqueue_child_styles', PHP_INT_MAX);
function unite_enqueue_child_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_dequeue_style('unite-style');
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}
?>
<?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( 'my-child-theme', get_stylesheet_directory() . '/languages' );
{
add_action( 'after_setup_theme', 'my_child_theme_setup' );
?>
<?php
add_action( 'admin_menu', 'remove_tools' );
function remove_tools() {
remove_submenu_page('tools.php', 'tools.php');
}
?>