Monarch Plugin | Social Share icons with Short-code

PHOTO EMBED

Fri Apr 12 2024 19:53:25 GMT+0000 (Coordinated Universal Time)

Saved by @Y@sir

function custom_social_icons_shortcode() {
2
    ob_start(); ?>
3
​
4
    <div class="et_social_networks et_social_autowidth et_social_slide et_social_rounded et_social_top et_social_no_animation et_social_outer_dark">
5
        <ul class="et_social_icons_container">
6
            <li class="et_social_facebook">
7
                <a href="http://www.facebook.com/sharer.php?u=https%3A%2F%2Fwavel.io%2Fhello-world%2F&amp;t=Hello%20world%21" class="et_social_share" rel="nofollow" data-social_name="facebook" data-post_id="1" data-social_type="share" data-location="inline">
8
                    <i class="et_social_icon et_social_icon_facebook"></i><span class="et_social_overlay"></span>
9
                </a>
10
            </li>
11
            <li class="et_social_twitter">
12
                <a href="http://twitter.com/share?text=Hello%20world%21&amp;url=https%3A%2F%2Fwavel.io%2Fhello-world%2F" class="et_social_share" rel="nofollow" data-social_name="twitter" data-post_id="1" data-social_type="share" data-location="inline">
13
                    <i class="et_social_icon et_social_icon_twitter"></i><span class="et_social_overlay"></span>
14
                </a>
15
            </li>
16
            <li class="et_social_linkedin">
17
                <a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=https%3A%2F%2Fwavel.io%2Fhello-world%2F&amp;title=Hello%20world%21" class="et_social_share" rel="nofollow" data-social_name="linkedin" data-post_id="1" data-social_type="share" data-location="inline">
18
                    <i class="et_social_icon et_social_icon_linkedin"></i><span class="et_social_overlay"></span>
19
                </a>
20
            </li>
content_copyCOPY

Display Monarch Plugin | Social Share icons with Short-code