Skip to content

Commit fefa400

Browse files
committed
Create new panel titled "Blog Settings" #205
1 parent bcb1af2 commit fefa400

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

inc/customizer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ function shapely_customizer( $wp_customize ) {
141141
$color_section->priority = 31;
142142
}
143143

144-
$header_image = $wp_customize->get_section( 'header_image' );
144+
$header_image = $wp_customize->get_control( 'header_image' );
145145
if ( $header_image ) {
146-
$header_image->panel = 'shapely_blog_options';
147-
$header_image->title = esc_html__( 'Blog Index Header Image', 'shapely' );
148-
$header_image->priority = 34;
146+
$header_image->section = 'shapely_blog_section';
147+
$header_image->label = esc_html__( 'Blog Index Header Image', 'shapely' );
148+
$header_image->priority = 31;
149149
}
150150

151151
$wp_customize->add_section( 'shapely_blog_section', array(

0 commit comments

Comments
 (0)