Tagged: social icons
-
AuthorPosts
-
March 19, 2016 at 7:24 pm #600733
Hi,
I’d doing a site for an actor and would like to include links to her three professional bodies where social icons appear, keeping the email icon that’s there at the moment. Is there a way of doing that?
Many thanks
SophieMarch 19, 2016 at 10:36 pm #600764Hey Purplenaartjie!
Here is an idea how you can do such changes
https://kriesi.at/support/topic/use-different-social-icons/#post-251970Please do let us know if you need anything else
Cheers!
BasilisMarch 20, 2016 at 4:00 pm #600844Ignore this one, apologies – see next message!
March 20, 2016 at 4:12 pm #600848Uploaded imdb as a family of three fontello fonts – imdb, spotlight and equity – and used the code below but the icons don’t show up when I try to select them in social icons?
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);
function avia_add_custom_icon($icons)
{
$icons[‘imdb’] = array( ‘font’ =>’imdb’, ‘icon’ => ‘ue801’);
$icons[‘spotlight’] = array( ‘font’ =>’imdb’, ‘icon’ => ‘ue802’);
$icons[‘equity’] = array( ‘font’ =>’imdb’, ‘icon’ => ‘ue800’);
return $icons;
}add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);
function avia_add_custom_social_icon($icons)
{
$icons[‘IMDb’] = ‘imdb’;
$icons[‘Spotlight’] = ‘spotlight’;
$icons[‘Equity’] = ‘equity’;
return $icons;
}- This reply was modified 8 years, 9 months ago by Purplenaartjie.
March 20, 2016 at 8:52 pm #600883Hi!
can u please paste for us, your code used to pastebin, so we can check it exactly as forums some times change the ” and ‘.
We would appreciate if possibleCheers!
BasilisMarch 22, 2016 at 3:22 pm #601886my icons show up in layout-editor – icons..
but i can’t select them in social icons dropdown menu. i added this code to the very end of functions.phpwhat is wrong?!
add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); function avia_add_custom_icon($icons) { $icons['icon1'] = array( 'font' =>'fontello', 'icon' => 'ue800'); $icons['icon2'] = 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['Icon1'] = 'icon1'; $icons['Icon2'] = 'icon2'; return $icons;
help me! thx!
March 23, 2016 at 6:39 am #602331 -
AuthorPosts
- You must be logged in to reply to this topic.