Thanks to the tipoff from @birgire in the comment, I was able to locate two things, an example of an implementation that includes context, here (also of note is that the Github gist has code for the very useful ability to access any image uploaded from this context previously!
https://gist.github.com/eduardozulian/4739075
/**
* Example of inserting a section called "Branding" with a
* context-based image uploader
*/
$wp_customize->add_section( 'my_branding', array(
'title' => __( 'Branding', '' ),
'priority' => 30,
) );
$wp_customize->add_setting( 'my_logo', array(
'capability' => 'edit_theme_options'
) );
$wp_customize->add_control( new My_Customize_Image_Reloaded_Control( $wp_customize, 'my_logo', array(
'label' => __( 'Logo', '' ),
'section' => 'my_branding',
'settings' => 'my_logo',
'context' => 'my-custom-logo'
) ) );
Related Posts:
- Responsive Images – Generating multiple images from Theme Customizer control upload?
- Modify Javascript Configuration Options for Theme Customizer Colour Picker
- Modify the Additional CSS section (adding a disclaimer)
- Disabling Customizer Selective Refresh shortcut icons for selected controls
- JavaScript stops working on selectively refreshed sections one inside the other
- “Add A Widget” button in the Customizer
- Customizer: save setting/control content to post/page
- Q: How to pull data from custom table to populate zustomizer setting/control select options
- Is it possible to visually group items on the theme customizer?
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Default Text not showing from customizer
- How to transfer one domain to another domain without losing theme options (customizer)?
- Is there a WordPress boolean for “theme_customizer_active()”?
- Customizer: get_preview_url() inside customize_save_after hook
- add shortcode support in customizer
- What is difference between add_theme_support and Theme Customization API?
- Text View (Code View) in WordPress Customizer TinyMCE Editor
- WordPress Customizer Help with FontAwesome Icon
- Customizer API way function is_customize_preview() works only in main page?
- trying to figure out how to use more that one image upload in the same section in theme customizer
- When to use is_home() vs is_front_page()?
- How To extend WP_Customize_Control
- How do I remove a pre-existing customizer setting?
- Using classes instead of global functions in functions.php
- Theme customizer – settings order
- Custom Image section in Customizer
- Get entered value of customiser field for live preview
- How to remove the Theme Customization Button from the dashboard and themes options page?
- Is it possible ( or advisable) to allow open access to the new theme customizer for potential clients?
- What are the ADVANTAGES of ORIGINAL wordpress template structure?
- Change admin bar to default:off
- Add a dropdown to theme customizer
- Theme Customizer : how to create multiple-level panel
- Allow Shortcode in Theme Customizer
- Theme Customizer – Nested Sections?
- How to change admin bar color scheme in MP6 / WP 3.8 front end?
- Customizer Active Callback not working
- Template for individual post designs
- Can I create customizer setting that can handle plugin shortcode?
- Editing the custom background CSS
- How to force Media manager to overwrite files of same name?
- How to execute conditional script when on new customize.php (Theme Customize) screen
- When to use esc_url, esc_html, esc_attr, and friends?
- Is the theme customizer slowing down my site?
- Trigger Customizer saving process with Javascript only
- Adding customizer styles with wp_add_inline_style
- Best practices – Should I create a child theme vs. customizing a framework theme? (such as HTML5 reset)
- How can you develop on a live WordPress installation that is using W3 Total Cache? [closed]
- How to disable 3.1 “Admin Bar” via script for the admin user?
- What is the best practice for customizing a plugin’s JavaScript/jQuery?
- WordPress Customizer Typography: How to load just the unique Google Fonts?
- WordPress Customize — Move “menus” options / field to another section
- Can we add more than one control under a setting in WP theme customizer?
- Widgets panel not displaying in the Theme Customizer
- Front End Post Submit Form
- How can I stop WP media uploader from creating duplicates of my uploaded images?
- Is it possible to display the admin bar while in the Theme Customizer?
- How do I get a parent theme modification from a child theme?
- Feature Survey – What would you want in a resume theme?
- Changing the entire control choices using wp.customize with JavaScript
- How the WordPress sidebar works
- How to Change CSS Variable value in Theme Customizer Live Preview
- Should we localize custom-made themes / plugins?
- How wordpress handle upload images and how to use them in the code
- Change loop order via form or link (jquery, not URL)
- Extend walker – navigation, adding data attribute to a tag
- How can I remove the Static Front Page option from the Customizer
- How to remove menus section from WordPress theme customizer
- Set front page as static page [closed]
- How to programmatically bring back “excerpts” field in post editor in WP 3.1+
- Get background color for Live Preview with Theme Customization API?
- How can i customize the comment list
- How to add custom template tag in wordpress theme?
- Checking if there is an Image inserted – if not don’t display anything
- How should I store global information such as a phone number so that it is editable through the CMS?
- When developing a distributable Theme, does it HAVE to be “inheritable”?
- How to handle theme customization and sass variables
- wp_enqueue_scripts not called on search page?
- wp_head() not inserting the default stylesheet style.css
- Upgrading a custom theme through the Dashboard
- “Display Site Title and Tagline” checkbox not working?
- Get attachments by user
- First completely customized theme, where should I start?
- WordPress how to override function adjacent_posts_rel_link_wp_head() in link-template.php the correct way
- How to set page template on front using starter content?
- How to regenerate thumbnails when they’re stored on S3
- Theme Customizer not loading
- Default header image does not display
- WordPress Customizer Control with React
- How to retrieve an image from a post and display it before excerpt of a post? [duplicate]
- Best practices: Custom theme sidebar menu – hardcode or widget?
- Best approach to create sites with Modular Content? [closed]
- How to change the customizer´s sidebar width?
- Theme Customizer – Choose where widget area appears, to let users organise widgets
- How can one update a theme on a live site without interruption?
- What’s the best action to use when you want to do something only once per theme setup?
- wordpress custom theme import and export options for sample data [closed]
- How to hook CSS file according to theme selection in the customizer section
- Version control for both Vagrant config and themes being developed [closed]
- How i can get widgets areas working in customizer?