copyright text footer
This commit is contained in:
parent
cfe79db5b1
commit
8f0051ee22
4 changed files with 79 additions and 72 deletions
|
|
@ -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' );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue