Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Use this function to add more social icons to your theme (can be added to functions.php)
- // Using "instagram' as an example
- // Then just add your new icon in the images/social folder
- function add_social_icons($social_icons){
- //new icons
- $extra_social_icons = array(
- 'Instagram'
- );
- //combine icons
- $social_icons = array_merge($extra_social_icons, $social_icons);
- //return new array with added icons
- return $social_icons;
- }
- add_filter('wpex_get_social', 'add_social_icons');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement