Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1053862

    Maybe I’m tired – I’m certainly missing something. I’ve gone through this:

    Adding the code:
    Downloaded the snapchat fonts zip. from here: http://fontello.com
    Uploaded in the enfold import/export area to Fontello fonts. (Successfully) It lists itself as “Font: fontello”

    Added this code to my child theme functions.php
    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['icon_name']	 = 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['Icon Label'] = 'icon_name';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    

    But I still don’t see the icon live, I see the option for “Icon Label”(which I select and add a link to in the enfold_child edit area) in the enfold options (as I’ve not altered any code) should I be changing ‘icon_name’ to the name of the icon “icon-snapchat’ ? Thank you.

    #1054030

    Hey BSHosts,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1054345

    Sure thing.

    #1054357

    Hi BSHosts,

    Best regards,
    Victoria

    #1054358

    Yes I believe I did. Under import – but I note it shows a pencil.
    It shows under import/export – under icon font manager – Font: fontello (which is what I imported)

    • This reply was modified 5 years, 10 months ago by BSHosts.
    #1054649

    Hey BSHosts!

    https://cl.ly/5ac156152586 So now you need to paste the icon code here.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1054690

    Thank Victoria, I’ve done the following but this hasn’t changed anything (where 0xf2ab is the icon code):

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘SnapChat_Icon’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘0xf2ab’);
    return $icons;

    • This reply was modified 5 years, 10 months ago by BSHosts.
    #1055203

    Found this article, which was super helpful and I’ve sorted it, so for anyone else that struggles read this:

    #1055241

    Hi BSHosts,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

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