Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1294924
    Israel Beltran
    Guest

    Hello good Morning
    How can I add an icon that does not come in the theme in the header?

    I am using the code that comes in the documentation but I get an error when I put it, the fontello zip file is already imported

    This is the code I am using:

    // Register new icon as a theme icon

    function avia_add_custom_icon($icons) {
    $icons[‘tiktok’] = array( ‘font’ =>’tiktok’, ‘icon’ => ‘ue801’);
    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[‘tiktok’] = ‘tiktok’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    #1295205

    Hi Israel Beltran,

    This seems to be a duplicate thread, I’ll be closing this thread and answer on your other thread.

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘How to add custom social icons to Enfold options’ is closed to new replies.