Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #423438

    I would like to add a Skype button with status http://www.skype.com/en/features/skype-buttons/create-skype-buttons/ in the bar above the header. Is that possible?

    #423873

    Hey markvanhaze!

    Thank you for using Enfold.

    I’m not sure if the script is fully compatible with Enfold but you can add the skype button code in an action hook in functions.php file. Something like this:

    add_action('avia_meta_header','avia_meta_header_mod');
    function avia_meta_header_mod() { ?>
    <script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
    <div id="SkypeButton_Call_skypeidhere_1">
      <script type="text/javascript">
        Skype.ui({
          "name": "dropdown",
          "element": "SkypeButton_Call_skypeidhere_1",
          "participants": ["skypeidhere"],
          "imageSize": 12
        });
      </script>
    </div>
    <?php }

    Replace the skype button code above.

    Regards,
    Ismael

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