GeneralHeader 1Header 2Header 3Header 4Header 5OverviewUse this tool to create custom code for Default Theme Headers with register_default_headers() function.UsageFill in the user-friendly form.Click the “Update Code” button.Copy the code to your project.Or save it as a snippet and share with the community.ExamplesIf you are still learning how to use this tool, check out the following examples:Landscape headersFamous structures headersFunction Name The function used in the code.Text Domain Translation file Text Domain. Optional.Header 1 Name Slug used in the code. Lowercase, with no spaces.Menu Description A short descriptive summary.Image URL URL to the header image.Thumbnail Image URL URL to the header image thumbnail.Header 2 Name Slug used in the code. Lowercase, with no spaces.Menu Description A short descriptive summary.Image URL URL to the header image.Thumbnail Image URL URL to the header image thumbnail.Header 3 Name Slug used in the code. Lowercase, with no spaces.Menu Description A short descriptive summary.Image URL URL to the header image.Thumbnail Image URL URL to the header image thumbnail.Header 4 Name Slug used in the code. Lowercase, with no spaces.Menu Description A short descriptive summary.Image URL URL to the header image.Thumbnail Image URL URL to the header image thumbnail.Header 5 Name Slug used in the code. Lowercase, with no spaces.Menu Description A short descriptive summary.Image URL URL to the header image.Thumbnail Image URL URL to the header image thumbnail. Update Code Save Snippet
// Register Default Headers function custom_default_headers() { $headers = array( ); register_default_headers( $headers ); } add_action( 'after_setup_theme', 'custom_default_headers' );