Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28954

    Hi,

    I’ve a Enfold child theme running, but when uploading the functions.php file the site crashes. I’m using some custom functions, which works fine for other child themes. Any suggestions what can cause the problem>

    <?php

    // Remove WordPress Version Number in head

    remove_action( 'wp_head', 'wp_generator' );

    /** BACKEND */

    // custom WordPress login url

    function wpc_url_login() {

    return "http://www.woutervanderzee.nl";

    }

    add_filter( 'login_headerurl', 'wpc_url_login' );

    // custom WordPress login logo

    function login_wouter() {

    wp_enqueue_style( 'login_wouter', get_template_directory_uri() . 'style-wouter.css' );

    }

    add_action( 'login_head', 'login_wouter' );

    // custom WordPress Dashboard footer

    function wz_footer_dashboard() {

    echo 'Een website van Wouter van der Zee, Webdesign, powered by WordPress.';

    }

    add_filter( 'admin_footer', 'wz_footer_dashboard' );

    #139281

    Hi,

    Do you have access to the PHP log? if so, please paste the content of it.

    Regards,

    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Error when loading functions child theme’ is closed to new replies.