Add Custom Header & Custom Backgroud


#1

Hi,

I have created WordPress theme for Themeforest. When i check my theme on “Theme Check” plugin it give us below RECOMMENDED.

  • RECOMMENDED: No reference to add_theme_support( “custom-header”, $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
  • RECOMMENDED: No reference to add_theme_support( “custom-background”, $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.

I want to know it is compulsory or not ? to add “custom-background” and “custom-header”.

Thanks in advance.