Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #677707

    Hi,

    I’d really like to add mobile phone and landline icons to the Social Profiles theme settings, so:

    • they get displayed alongside the social icons with the same formatting
    • on mobile, they show up at the top of the site on all pages

    I’ve used your guide to add a ‘Mobile’ option to the Social Profiles:

    function avia_add_custom_icon($icons) {
    	$icons['mobile']	 = array( 'font' =>'entypo-fontello', 'icon' => 'ue8ac');
    	return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    function avia_add_custom_social_icon($icons) {
    	$icons['Mobile'] = 'mobile';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    The problem I have is that the Social Profile field doesn’t seem capable of accepting
    <a href=”tel:123456789″>123456789</a>

    Can you advise how I can get this to work, or offer any suggestions for a different route to achieve the same thing?

    Thanks!

    #677808

    Hi Sandie!

    Please add your phone as followin

    tel:1234123412

    Cheers!
    Yigit

    #677812

    LOL, apparently I was thinking too much about it!

    Thanks very much Yigit.

    #679110

    Hi,

    You are welcome, we are always happy to help :)
    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to add 'mobile' to Social Profiles’ is closed to new replies.