As per comments: this is what the Customizer API is for. In the case of the header there are a dozen parameters to tweak the behaviour with. Like this:
$defaults = array(
'default-image' => '',
'width' => 0,
'height' => 0,
'flex-height' => false,
'flex-width' => false,
'uploads' => true,
'random-default' => false,
'header-text' => true,
'default-text-color' => '',
'wp-head-callback' => '',
'admin-head-callback' => '',
'admin-preview-callback' => '',
);
add_theme_support( 'custom-header', $defaults );
Related Posts:
- Using classes instead of global functions in functions.php
- Add custom classes to anchor in wp_nav_menu
- Any official way to create an admin theme?
- Template for individual post designs
- Show a WP 3.0 Custom Menu in an HTML Select with Auto-Navigation?
- Front End Post Submit Form
- Select menu on browser resize
- Extend walker – navigation, adding data attribute to a tag
- Displaying wp menus by name without using theme locations
- How to highlight the current page in the nav menu?
- Upgrading a custom theme through the Dashboard
- Setting a Default ‘Theme Location’ When Creating a Menu
- Theme Customizer not loading
- Best practices: Custom theme sidebar menu – hardcode or widget?
- Custom Nav Walker Displaying Values in Sub Menu
- Version control for both Vagrant config and themes being developed [closed]
- Where is definied the theme location for the main menu in a WordPress template?
- How to correctly add JQuery in a WP theme?
- How to add a second stylesheet to the editor
- which is the best way to customize nav-menu-template.php?
- WP 3.1 upgrade breaks AutoFocus+ theme
- My Admin bar covers my sticky navbar [closed]
- Limitations when modifying wp_title with a filter
- How to edit theme functions file to modify pagination?
- Customizer: save setting/control content to post/page
- Where am I doing wrong in my theme menu?
- Custom Navigation build using wp_nav_menu and walker
- Customize how a WordPress theme looks like in the Theme Selector
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Integrate WooCommerce theme with a WordPress theme [closed]
- Admin: sub menu doesnt display under apperance when activate my themes
- Widget Option is Missing
- How do you use WordPress for a website that’s not in a blog format?
- Child Theme header1.php file not overwriting parent theme’s header1.php file
- 3 Level Deep Navigation Menu Not Showing All Levels
- How to add menù section to my WordPress template?
- Thesis -style Navigation
- searchform.php doesn’t work properly
- Customizer: get_preview_url() inside customize_save_after hook
- New to WordPress – Read the Codex, Other Docs; Still Confused
- Create theme for mobile phones and tablets only?
- How to add custom page elements to the WYSIWYG editor?
- Why is my container argument not working for wp_nav_menu() [closed]
- Some doubts about WordPress handle the horizontal main menu visualization
- Can’t change theme name
- Remove/Hide a Widget on a Custom Template
- how to create/register menu items that can be added to menus later
- Why nav_menu_css_class doesn’t work with apply_filters?
- Theme: dropdown hover menu not showing up in IE/Edge
- Is hand coding required at all?
- Menu names not getting translated
- WordPress Twenty-Fourteen: How to Remove Home Page Header Image from Other Pages
- WordPress menu walker – Get parent item text inside end_lvl function
- How to dowload and edit content of a website
- HTML TO WP Theme : Submenu goes down wp_nav_menu
- Any way to permanently translate themes?
- How to prevent XSS attack in wordpress theme?
- Best strategy for providing theme options using customizer
- Primary Menu Showing All Pages With No Sub-Nav
- What’s the policy for building a theme that doesn’t support widgets/menus?
- How Does One Create a Global Variable Repository
- How to convert that page to a wordpress template? [closed]
- How to make navigation a list without a plugin? [duplicate]
- Turning WordPress Into full-featured website?
- How to automatically set a Template Page Name next to a page in menu screen such as WooCommerce pages, front page, or posts page in wordpress?
- Dynamic nav menu with icons [closed]
- Why is wp_nav_menu() not removing the container around the nav ?
- Issue on Adding A Class to Bootstrap Navbar Walker Dropdown
- Prefix best practice, should we use framework name or theme name?
- Is there any WordPress theme for Self Storagae just like Spacer [closed]
- Show woocommerce categories on my theme menu styling
- Theme Javascript.php Overwritten Nightly [closed]
- Q: How to pull data from custom table to populate zustomizer setting/control select options
- Move default page templates to sub directory
- WordPress Unite Theme: Footer isn’t sticking [closed]
- WordPress get_template_part() function not working
- Is accessing theme and using customizer GPL distribution?
- Changing a slider to a grid [closed]
- loading blank white screen of slide
- How to add Space between sidebar and footer widget in WordPress theme [closed]
- Navigation label for page in custom theme
- Child Theme’s style.css not loading in mobile browser
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- How can my theme allow users to take advantage of advanced html tags in posts
- Override customizer values on a per-menu base
- Theme Inspector “X-Ray”
- Why does has_nav_menu return false when get_registered_nav_menus shows the opposite?
- Using My Own Classes On Wp Unit Tests
- Migrated WordPress site renders Chinese
- Acivate all themes multisite wide automatically
- Echo all category names, apart from one
- How to enqueue javascript for WP Customize options sidebar?
- Is it possible to visually group items on the theme customizer?
- Recommended method for updating/adding menus when adding new theme
- WordPress 500 Internal server error when activating custom theme [closed]
- Call to undefined function add_menu_page() on theme activation
- How to Find the Page the Front Page is Using?
- How to place HTML tags in content from the_content()?
- correct tags for validating input types
- WordPress Theme Creation [closed]