Update default author name and enable author section by default
This commit is contained in:
@@ -123,7 +123,7 @@ function wisdom1_customize_register($wp_customize)
|
||||
|
||||
// Enable Author Section
|
||||
$wp_customize->add_setting('show_author_section', array(
|
||||
'default' => false,
|
||||
'default' => true,
|
||||
'sanitize_callback' => 'rest_sanitize_boolean',
|
||||
));
|
||||
$wp_customize->add_control('show_author_section', array(
|
||||
@@ -134,7 +134,7 @@ function wisdom1_customize_register($wp_customize)
|
||||
|
||||
// Author Name
|
||||
$wp_customize->add_setting('author_name', array(
|
||||
'default' => 'Adolfo Reyna',
|
||||
'default' => 'David Clemetson',
|
||||
'sanitize_callback' => 'sanitize_text_field',
|
||||
));
|
||||
$wp_customize->add_control('author_name', array(
|
||||
|
||||
Reference in New Issue
Block a user