add category page, fix single page view

This commit is contained in:
Jonas Heinrich 2020-04-20 20:13:26 +02:00
parent 71435d6890
commit 5a85a6a83d
6 changed files with 118 additions and 935 deletions

View file

@ -126,6 +126,18 @@ function theme_customize_register( $wp_customize ) {
'label' => esc_html__( 'Theme color', 'theme' ),
) ) );
$wp_customize->add_setting('contact_mail', array(
'default' => '',
'type' => 'option',
'transport' => 'refresh',
));
$wp_customize->add_control('contact_mail', array(
'label' => __('Contact mail', 'contact_mail'),
'section' => 'core',
'settings' => 'contact_mail',
));
}
add_action( 'customize_register', 'theme_customize_register' );