Tagged: social media
-
AuthorPosts
-
August 21, 2024 at 6:34 am #1465039
Hello can you please help me add new social media links that are not available in the theme? I need to add the following icons to my site Basecamp, Spotify and iTunes.
August 21, 2024 at 7:07 am #1465040Hey Maggie,
Thank you for the inquiry.
The Basecamp and iTunes logos are not available by default, so you need to upload the following file in Enfold > Import/Export > Iconfont Manager.
// https://1drv.ms/u/s!AjjTfXSRbKTvguNhHdHENtIsAnob_Q?e=111Wsv
Then add this code to the functions.php file:
// Register new icon as a theme icon function avf_default_icons_mod($icons) { $icons['spotify'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue907'); $icons['basecamp'] = array( 'font' =>'basecamp', 'icon' => 'ue800'); $icons['itunes'] = array( 'font' =>'basecamp', 'icon' => 'ue801'); return $icons; } add_filter('avf_default_icons','avf_default_icons_mod', 10, 1); // Add new icon as an option for social icons function avf_social_icons_options_mod($icons) { $icons['Spotify'] = 'spotify'; $icons['Basecamp'] = 'basecamp'; $icons['iTunes'] = 'itunes'; return $icons; } add_filter('avf_social_icons_options','avf_social_icons_options_mod', 10, 1);
Best regards,
IsmaelAugust 24, 2024 at 9:08 pm #1465314This reply has been marked as private.August 25, 2024 at 3:08 pm #1465350Hi,
That is default WordPress functionality, it might be turned off by your hosting provider. Please try reaching out to them, or add the code using FTP instead.
Best regards,
RikardAugust 25, 2024 at 5:24 pm #1465360This reply has been marked as private.August 25, 2024 at 6:30 pm #1465365Hi,
Please see this thread it includes the filter to add custom social profiles in the posts.
The thread is for “TikTok” but you should be able to adjust for your icons, please review and try.Best regards,
MikeSeptember 4, 2024 at 11:05 pm #1466261This reply has been marked as private.September 5, 2024 at 5:05 am #1466277Hi,
Thank you for the update.
Please download the following zip file and upload it to the Enfold > Import/Export > Iconfont Manager: https://1drv.ms/u/s!AjjTfXSRbKTvguNj14PKRDWVJdmAMg?e=WW4LdM
Once the icon is uploaded, add this filter in the functions.php file:
// Register new icon as a theme icon function avf_default_icons_mod($icons) { $icons['bandcamp'] = array( 'font' =>'bandcamp', 'icon' => 'ue800'); return $icons; } add_filter('avf_default_icons','avf_default_icons_mod', 10, 1); // Add new icon as an option for social icons function avf_social_icons_options_mod($icons) { $icons['Bandcamp'] = 'bandcamp'; return $icons; } add_filter('avf_social_icons_options','avf_social_icons_options_mod', 10, 1);
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.