Skip to Main Content

How to add a Skype share button to WordPress

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Did you know that Skype offers a share button? We ourselves did not know it until a subscriber requested it. Skype is one of the most popular communications apps right now.

In this tutorial, I'll show you how to easily add a Skype sharing button on WordPress.

skypesharebutton

The first thing you need to do is install and activate the plugin Share Skype, Available on WordPress.org (Read our tutorial on how to install a WordPress plugin).

After activation, go to the " Settings> Skype share button To configure the plugin.

skypeshare

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

The first option allows you to activate the share button. You must check this box to activate the Skype share button on your blog.

Then you have to choose the size of the button. The sizes available for the button are " wide share"," small share"," circle icon "And" Square icon" page (in French).

Finally, you need to choose the location of your button. You can even choose to have it displayed at the very top of the article, at the bottom of the article, or even in both places.

The Skype button can automatically detect the language of your WordPress blog page. But if this is not done, then you can define the language of your blog yourself.

Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

Do not forget to click on " Save Changes To save your settings.

That's all you have to do. Now you can visit your WordPress blog to see the share button in action.

skypebuttonpreview

How to manually add a Skype share button to WordPress

If you are against the idea of ​​adding an additional plugin because you may be thinking that having more than plugins can slow your blogThen you can follow the following.

The first thing to do in this case is to add the following portion of code in one of the files of your theme, more precisely when using the hook " wp_enqueue_scripts" page (in French).

// Place this code in the head section of your HTML file 
(function(r, d, s) {
    r.loadSkypeWebSdkAsync = r.loadSkypeWebSdkAsync || function(p) {
        var js, sjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(p.id)) { return; }
        js = d.createElement(s);
        js.id = p.id;
        js.src = p.scriptToLoad;
        js.onload = p.callback
        sjs.parentNode.insertBefore(js, sjs);
    };
    var p = {
        scriptToLoad: 'https://swx.cdn.skype.com/shared/v/latest/skypewebsdk.js',
        id: 'skype_web_sdk'
    };
    r.loadSkypeWebSdkAsync(p);
})(window, document, 'script');

After adding the code in your single.php, loop.php, index.php, page.php, category.php and archive.php file you need to add the following code in the WordPress loop.

' data-lang='en-US' data-text='' data-style='large' >

You can change the "data-style" attribute to large, small, circle or square. You can also change the language to the one of your choice. Basically, the preceding code will allow the user to share an individual article with the title of the article.

That's it for this tutorial. I hope it will be of great use to you. Feel free to share this article with your friends on your favorite social networks.

This article features 0 comments

Leave a comment

Your email address will not be published. Required fields are marked with *

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
2 shares
Share
tweet
Save2