diff --git a/kit/category-bestand.php b/kit/category-bestand.php index 789ddcf..cc471d9 100644 --- a/kit/category-bestand.php +++ b/kit/category-bestand.php @@ -139,8 +139,11 @@ get_header();
- - + +
diff --git a/kit/category.php b/kit/category.php index a5ea32f..dee5cd5 100644 --- a/kit/category.php +++ b/kit/category.php @@ -12,7 +12,7 @@ get_header(); echo esc_html( $categories[0]->name ); } ?> - +
@@ -57,8 +57,11 @@ get_header();
- - + +
diff --git a/kit/functions.php b/kit/functions.php index 6935228..d23b985 100644 --- a/kit/functions.php +++ b/kit/functions.php @@ -194,15 +194,9 @@ function theme_customize_register( $wp_customize ) { ) ) ); - $wp_customize->add_setting( 'kit_defaultimage', array( - 'default' => '', - 'type' => 'option', - 'capability' => 'edit_theme_options' - ), - ); - - $wp_customize->add_control( new WP_Customize_Image_Control( - $wp_customize, 'kit_defaultimage_control', array( + $wp_customize->add_setting( 'kit_defaultimage' ); + $wp_customize->add_control( new WP_Customize_Media_Control( + $wp_customize, 'kit_defaultimage', array( 'label' => __( 'Default featured image', 'kit' ), 'settings' => 'kit_defaultimage', 'section' => 'title_tagline',