Support » Theme: Graphene » Child Theme Errors

  • I am trying to make a bigger header image for this theme.

    I’ve created the child theme but am getting errors:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘graphene_custom_header_width’ not found or invalid function name in /public_html/wp-includes/plugin.php on line 170

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-includes/plugin.php:170) in /public_html/wp-includes/option.php on line 563

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-includes/plugin.php:170) in /public_html/wp-includes/option.php on line 564

    Here is my functions.php

    <?php
    /*function graphene_custom_header_width(){
       return 900;
    } */
    function graphene_custom_header_height(){
       return 250;
    }
    add_filter('graphene_header_image_width', 'graphene_custom_header_width');
    add_filter('graphene_header_image_height', 'graphene_custom_header_height');
    ?>

Viewing 1 replies (of 1 total)
  • Thread Starter dca123

    (@dca123)

    Never mind.

    I wanted to modify the height of the image but not the width. Seems I need both to make this work. I uncommented it.

Viewing 1 replies (of 1 total)
  • The topic ‘Child Theme Errors’ is closed to new replies.