Added twitter user to customize

This commit is contained in:
Fabiano 2018-08-08 14:53:24 -03:00
parent 266761f30d
commit b3ba4b92bc
1 changed files with 10 additions and 0 deletions

View File

@ -122,6 +122,16 @@ function tainacan_customize_register( $wp_customize ) {
//'description' => __( 'This checkbox display or no the Twitter Share.' ),
) );
$wp_customize->add_setting( 'twitter_user', array(
'type' => 'option',
'capability' => 'manage_options',
) );
$wp_customize->add_control( 'twitter_user', array(
'label' => __( 'Twitter User', 'tainacan-theme' ),
'section' => 'social_share',
) );
//Google Plus
$wp_customize->add_setting( 'google_share', array(
'default' => true,