Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #873704

    I have 4 icons made in fontello email / location / facebook / twitter i have changed my function.php

    add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);
    function avia_add_custom_icon($icons)
    {
    $icons[‘location’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue802’);
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);
    function avia_add_custom_social_icon($icons)
    {
    $icons[‘location’] = ‘location’;
    return $icons;
    }
    and location is in my list of icons. but how do I get the other icons? If I repeat the steps above it gives a error

    #873718

    Hi Marcus,

    You should use the code as following

    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    function avia_add_custom_icon($icons)
    {
    $icons['location']	= array( 'font' =>'fontello', 'icon' => 'ue802');
    $icons['second']	= array( 'font' =>'fontello', 'icon' => 'ue803');
    return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    function avia_add_custom_social_icon($icons)
    {
    $icons['location'] = 'location';
    $icons['second'] = 'second';
    return $icons;
    }

    Best regards,
    Yigit

    #873766

    Thanks for the quick reponce works now all icons are there only the twitter icon give a problem it seems that it get prefill informatieon. I filled out by the url only ‘twitter’ but it give a total url https://twitter.com/twitter/ also the hover state is not adjustable

    Greetings Marcus

    #874350

    Hi,

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

    #874569

    Solved, Have give twitter another name in function.php ‘twitter-new’ and now it’s working fine

    #874979

    Hi,

    Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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