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


    I’d like to transform the social icons in the header into a mail link…

    No problem to switch images, but where do I have to change the code for that please?



    You can edit header.php and find this code

    if($dribbble = avia_get_option('dribbble')) { $social ++; echo "<li class='dribbble'><a href='".$dribbble."'>".__('Follow us on dribbble', 'avia_framework')."</a></li>"; }
    if($twitter = avia_get_option('twitter')) { $social ++; echo "<li class='twitter'><a href='".$twitter."'>".__('Follow us on Twitter', 'avia_framework')."</a></li>"; }
    if($facebook = avia_get_option('facebook')) { $social ++; echo "<li class='facebook'><a href='".$facebook."'>".__('Join our Facebook Group', 'avia_framework')."</a></li>"; }
    if($gplus = avia_get_option('gplus')) { $social ++; echo "<li class='gplus'><a href='".$gplus."'>".__('Join me on Google Plus', 'avia_framework')."</a></li>"; }
    if($linkedin = avia_get_option('linkedin')) { $social ++; echo "<li class='linkedin'><a href='".$linkedin."'>".__('Add me on Linkedin', 'avia_framework')."</a></li>"; }




    Ok Thanks,

    but I just know few basic code in html…

    So I tried this to use twitter fonction as mail:

    if($twitter = avia_get_option(‘twitter’)) { $social ++; echo “<li class=’twitter’>“.__(‘Envoyez moi un mail’, ‘avia_framework’).”“; }

    but of course that’s my twitter ID which is appearing in recipient field,

    cause I cannot feel twitter field with: (Email address hidden if logged out)





    forget it

    it works fine with the google+ account…

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Transform rss, or social icons into a mail link?’ is closed to new replies.