В стандартных темах WP при настройке темы появляются иконки, кликая по которым переходишь к редактированию элемента:

Пытаюсь сделать подобное и в своей теме, но не могу разобраться как.

код в
inc\customizer.php
:
function testtheme_customize_register( $wp_customize ) {
...
// Logo upload
$wp_customize->add_section( 'testtheme_logo_section' , array(
'title' => esc_html__( 'Logo', 'testtheme' ),
'priority' => 21,
'description' => esc_html__( 'Upload a logo to replace the default site name and description in the header. Also, upload your site favicon and Apple Icons.', 'testtheme'),
));
$wp_customize->add_setting( 'testtheme_logo', array(
'sanitize_callback' => 'esc_url_raw',
));
$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'testtheme_logo', array(
'label' => esc_html__( 'Logo', 'testtheme' ),
'type' => 'image',
'section' => 'testtheme_logo_section',
'settings' => 'testtheme_logo',
'priority' => 10,
)));
...
}
add_action( 'customize_register', 'testtheme_customize_register' );
В
header.php
:
<?php if ( get_theme_mod( 'testtheme_logo' ) ) : ?>
<div class='site-logo'>
<a href='<?php echo esc_url( home_url( '/' ) ); ?>' title='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>' rel='home' class="navbar-brand">
<img src='<?php echo esc_url( get_theme_mod( 'testtheme_logo' ) ); ?>' alt='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>'>
</a>
</div>
<?php else : ?>
<hgroup>
<a class="navbar-brand" href="#"><span>Test</span>Theme</a>
</hgroup>
<?php endif; ?>
Возможно есть статьи\уроки по этой теме, как реализовать данное редактирование?