justintadlock / hybrid-base

A base theme for building with the Hybrid Core framework.
GNU General Public License v2.0
154 stars 74 forks source link

Make header.php compatible for no custom-header support #13

Open sharmashivanand opened 7 years ago

sharmashivanand commented 7 years ago

The theme fails to display the header is the custom-header support is removed. I think this code should fix it.

header.php: line 20 <?php if ( (current_theme_supports('custom-header') && display_header_text()) || ! current_theme_supports('custom-header') ) : // If user chooses to display header