Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Custom Icon – added to Social – label showing wrong. #1318160

    Resolved by:

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
        $icons['tiktok'] = array( 'font' =>'fontello', 'icon' => 'ue800');
        return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
        
    // Add new icon as an option for social icons
    function avia_add_custom_social_icon($icons) {
        $icons['Tik Tok    '] = 'tiktok';
        return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    Had tried that before but then needed to remove and select the icon again.

Viewing 1 post (of 1 total)