The code you are looking for is in functions.php (line 106 to 211).
To understand what they have done in TwentyTen, I would suggest that you read the following:
http://codex.wordpress.org/Function_Reference/add_custom_image_header
Related Posts:
- Where can I find a good reviewed collection of Twenty Ten child themes?
- display 20 lines only with the_content
- How do I remove twentyten without ruining what I did?
- How to create a fixed header and scrolling content area
- do_shortcode() in twentyeleven theme
- Making a WordPress theme based on twentyten
- Create a category archive page in TwentyTen Child Theme
- Does the functions.php file ever get called during an AJAX call? Debug AJAX
- Bestway To Define Theme and Plugin path and url
- Form to Add Posts to Custom Post Type
- How do I add settings to the Background Options Page?
- Import media to online WordPress from local development
- How to add a checkbox element to attachments editor with example
- What is the right way to include a wp-admin file in your theme?
- Theme Check gives: Required: This theme doesn’t seem to display tags?
- Is it possible to use line break in theme description?
- Override Current Theme Setting in wp_config.php
- Theme showing incorrect update
- modify a output of a widget
- How do I “unhook” / de-register jQuery so that it’s not called as part of wp_footer();?
- changing Specific section background image in wordpress
- WP Gutenberg custom block – generate theme colors from SASS and use them in the inspector and php callback
- Which is the simplest theme for WordPress to use it as your base?
- There’s an image named g.gif somewhere in my WordPress site
- How to highlight the current page in the nav menu?
- Is tag default in WordPress?
- How to support Lazy Loading Assets in a WordPress Theme?
- Convert PHP readfile to WP_Filesystem
- How to call wp_list_comments() with callback outside the loop
- Wysiwyg editor for P2 theme
- Sub folder CSS that’s read by Admin panel
- Infinite Scroll not working in own theme
- Toggle Sidebar Display
- Dequeue a style file which is making website load slow!
- How to customize save function event?
- WordPress page templates in a directory
- Do I need normalize.css when developing my own WordPress-theme?
- How to float an image in Gutenberg
- Limit Loop to 5 Posts?
- buddypress: how do i make the group description excerpt shorter?
- Table of Contents Before first heading
- Theme-wide custom post template
- Bootstrap card columns change images size
- comment form args are not translatable (customized comment form)
- Zoom on custom theme without child
- What do with the index.php … [duplicate]
- How to add Space between sidebar and footer widget in WordPress theme [closed]
- Custom Navigation build using wp_nav_menu and walker
- Question regarding WP multisite feature
- Call to undefined function add_menu_page() on theme activation
- The Content is not Wraping in tag
- Is it acceptable for a WordPress theme to not accept widgets?
- Should all references to a text domain be to my current theme?
- WordPress Settings API not saving options
- Custom image size vs CSS sizing
- Simple child theme modification but links are broken
- Is functions.php in themes applied to all templates?
- Doing context-aware previews in the WordPress Customizer
- First post full width without Sidebar
- multiple html/css files for wordpress theme?
- best practices for updating wordpress theme
- Create new wordpress theme with no need update
- Multi Site Setup, Child Themes, Getting Style Sheet Directory
- Add image URL automatically to custom field?
- content filter (add_filter) for category description?
- Exclude parent categories from the_category() within the loop
- How do I pass the category object to a function when is_archive() is true?
- Making a horizontal flyout menu from WordPress category listing
- How to use Canonical URL meta tag to avoid duplicate content issues with WP home pages
- getBoundingClientRect() showing different values on load vs scroll
- Host Private Custom Theme
- How can I set multi archive page template on same time for only one custom post type?
- Exclude categories from wp query not working
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- How to get custom logo with REST API instead of get_theme_mod();
- How can I change this SVG shape that’s generated?
- Show Yoast SEO meta tags in Custom WordPress Templates (Theme)
- Can I set rest API endpoints from within a theme?
- Theme starter content translation is not working
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- remove_action(‘genesis_header’,’genesis_do_header’) hook not working
- Customizer Image-Picker Preview Not Working
- How to get url image page the right way?
- Mobile view logo background colour in wordpress
- Breaking Categories Up into Individual Divs
- Strip HTML tags on custom code from the_content
- page.php is not called when I load a Page
- wpdb->insert adds too many rows
- wpalchemy repeating fields dropdown issue
- How to reuse parts of WordPress site e.g. header, footer, part of header for multiple WordPress sites?
- WordPress loop not working on blog.php page
- Option to show/hide widget depending on is_home?
- Add Dynamic Sidebar to Exisiting WordPress Theme [closed]
- IS there any reason not to include javascript in my own post’s embeds?
- How to create more templates to the same theme?
- How do I middle-align my header menu items in WordPress [closed]
- How to add Dummy content when active wordpress theme without xml import?
- Is there any reason that other theme elements (such as nav menus) shouldn’t be within the loop?
- How to send async emails in wordpress?
- Is there any halfway decent documentation on the wp.media JS class?