Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #1465040

    Hey 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,
    Ismael

    #1465314
    This reply has been marked as private.
    #1465350

    Hi,

    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,
    Rikard

    #1465360
    This reply has been marked as private.
    #1465365

    Hi,
    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,
    Mike

    #1466261
    This reply has been marked as private.
    #1466277

    Hi,

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.