-
AuthorPosts
-
November 7, 2017 at 2:28 pm #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 errorNovember 7, 2017 at 2:53 pm #873718Hi 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,
YigitNovember 7, 2017 at 4:02 pm #873766Thanks 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
November 8, 2017 at 11:54 pm #874350Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
YigitNovember 9, 2017 at 9:57 am #874569Solved, Have give twitter another name in function.php ‘twitter-new’ and now it’s working fine
November 10, 2017 at 5:31 am #874979 -
AuthorPosts
- You must be logged in to reply to this topic.