Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1266304

    hi!

    ich bin eurer dokumentation gefolgt, um mehrere social media icons anzulegen…, die noch nicht vorhanden waren

    das hat funktioniert über fontello.

    es funktioniert leider nur einmal, wenn ich die funktion in der noch einmal in der functions.php für einen weiteren button anlege bekomme ich einen fatal error. gibt es eine einfache lösung?

    #1266375

    Hey buerogestaltet,

    You can add several icons in one function.

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1266428
    This reply has been marked as private.
    #1266741

    victoria?

    #1266807

    victoria it’s abit important, and im sure its easy routine for you ;-)

    #1267447

    Hi,

    Sorry for the delay. We edited the snippet or filter in the functions.php file a bit, and added the spotify icon and associate the custom font icon to it. This is the adjusted filter in the functions.php file.

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['apple']	 = array( 'font' =>'newicons', 'icon' => 'uf179');
    	$icons['spotify']	 = array( 'font' =>'newicons', 'icon' => 'uf327');
    	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['apple'] = 'apple';
    	$icons['spotify'] = 'spotify';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    

    You can now edit the spotify icon in the Enfold > Social Profiles panel.

    Best regards,
    Ismael

    #1276617

    Howdy!

    I have looked at this thread as well as https://kriesi.at/support/topic/apple-music-spotify-amazon-social-icons-in-the-menu-bar/

    I understand how to implement these, however, I want to add an icon for https://mewe.com/ which does not appear to have an icon yet in any of the font packages.

    Do you have a recommendation for how I could add this icon with a link as a social profile in the header and footer without the font icon? Like, with a png?

    Thanks!

    #1276680

    Hi,

    Thank you for the inquiry.

    Do you have an svg file of the mewe icon? You should be able to upload it to fontello to create a custom icon font and upload it to the theme’s icon font manager. You can then follow the instructions above on how to assign a custom icon font to a social icon.

    Best regards,
    Ismael

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