WordPress.org

Ready to get started?Download WordPress

Forums

Graphene
Child Theme Errors (2 posts)

  1. dca123
    Member
    Posted 1 year ago #

    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');
    ?>
  2. dca123
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.