copyright text footer

This commit is contained in:
Jonas Heinrich 2020-06-06 15:28:21 +02:00
parent cfe79db5b1
commit 8f0051ee22
4 changed files with 79 additions and 72 deletions

View file

@ -177,6 +177,23 @@ function theme_customize_register( $wp_customize ) {
)
) );
$wp_customize->add_setting( 'kit_copyrighttext', array(
'default' => '',
'type' => 'option',
'capability' => 'edit_theme_options'
),
);
$wp_customize->add_control( new WP_Customize_Control(
$wp_customize, 'sidenav_copyrighttext', array(
'label' => __( 'Copyright text', 'kit' ),
'description' => __( 'Displayed in the footer', 'kit' ),
'settings' => 'kit_copyrighttext',
'section' => 'title_tagline',
'type' => 'text',
)
) );
}
add_action( 'customize_register', 'theme_customize_register' );