fixes
This commit is contained in:
parent
01e848619c
commit
56cc24346f
3 changed files with 40 additions and 4 deletions
|
|
@ -20,3 +20,26 @@ function fachwerksauna_setup() {
|
|||
}
|
||||
|
||||
add_action( 'after_setup_theme', 'fachwerksauna_setup' );
|
||||
|
||||
function theme_customize_register( $wp_customize ) {
|
||||
|
||||
$wp_customize->add_setting( 'fachwerksauna_footer-text', array(
|
||||
'default' => '',
|
||||
'type' => 'option',
|
||||
'capability' => 'edit_theme_options'
|
||||
),);
|
||||
|
||||
$wp_customize->add_control( new WP_Customize_Control(
|
||||
$wp_customize, 'footer-text_control', array(
|
||||
'label' => __( 'Footer text', 'fachwerksauna' ),
|
||||
'description' => __( 'Text in footer area', 'fachwerksauna' ),
|
||||
'settings' => 'fachwerksauna_footer-text',
|
||||
'priority' => 10,
|
||||
'section' => 'title_tagline',
|
||||
'type' => 'text',
|
||||
)
|
||||
) );
|
||||
|
||||
}
|
||||
|
||||
add_action( 'customize_register', 'theme_customize_register' );
|
||||
Loading…
Add table
Add a link
Reference in a new issue