Support » Theme: Sundance » Deprecated functions in function.php and custom-header.php

  • I received notice for using deprecated function add_custom_background() in function.php and add_custom_image_header() in custom-header.php

    To fix the issue, please replace
    add_custom_background() with add_theme_support( ‘custom-background’)
    add_custom_image_header( ‘sundance_header_style’, ‘sundance_admin_header_style’, ‘sundance_admin_header_image’ );
    add_theme_support( ‘custom-header’, array(‘sundance_header_style’, ‘sundance_admin_header_style’, ‘sundance_admin_header_image’));

    Can you add this is the next version.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated functions in function.php and custom-header.php’ is closed to new replies.