Support » Theme: Curver » Curver Child Theme

  • martin9870


    Hello, please can you post correct function.php for the child theme? I am getting “Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘theme_enqueue_styles’ not found or invalid function name in /home/wp-includes/class-wp-hook.php on line 286”. Thank you in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Alexander Agnarson


    Hi! Sorry for a late reply.

    Could you post your entire functions.php to and link it here?

    I recommend first reading the well-written child theme guide here:

    Hello, my function.php is empty. I need only to enqueue scripts corectly. Now I tried this code and it works. Is this code right? Thank you.

    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
    function my_theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Curver Child Theme’ is closed to new replies.