Good day, how to change or add social networking icons in the sidebar? the fact that the Russian-speaking users, the bulk do not use linkenid or Google +
You can change social links in Dashboard > Appearance > Customize
I probably did not correctly put it, how to add new links and icons of social networks? eg github.com or vkontakte.ru Thanks for the answer
If you want to add the github and vkontakte or any other social icon to that bar, you can do as the following:
1. Open the extras.php file in the folder path “\wp-content\themes\dw-minion\inc”. find the line 246, add the following code under line 246.
$social_links['vkontakte'] = dw_minion_get_theme_option( 'vkontakte', '' );
$social_links['github'] = dw_minion_get_theme_option( 'github', '' );
– Find the line 270, add the following code under line 270:
<?php if($social_links['vkontakte']!='') { ?><li class="social"><a href="<?php echo $social_links['vkontakte']; ?>"><i class="icon-vk"></i></a></li><?php } ?>
<?php if($social_links['github']!='') { ?><li class="social"><a href="<?php echo $social_links['github']; ?>"><i class="icon-github"></i></a></li><?php } ?>
2. Open the customizer.php file in the folder path “”. Find the line 237, add the following code under line 237.
/*********vkontakte************/
$wp_customize->add_setting('dw_minion_theme_options[vkontakte]', array(
'default' => '',
'capability' => 'edit_theme_options',
'type' => 'option',
));
$wp_customize->add_control('vkontakte', array(
'label' => __('vkontakte', 'dw-minion'),
'section' => 'dw_minion_social_links',
'settings' => 'dw_minion_theme_options[vkontakte]',
));
/*********github************/
$wp_customize->add_setting('dw_minion_theme_options[github]', array(
'default' => '',
'capability' => 'edit_theme_options',
'type' => 'option',
));
$wp_customize->add_control('github', array(
'label' => __('github', 'dw-minion'),
'section' => 'dw_minion_social_links',
'settings' => 'dw_minion_theme_options[github]',
));
3. Log in to Dashboard > Customize > Social Links, then add your link to text-box.
Hope this helps !
it really helped! thank you so much Dominic
Please login or Register to submit your answer