Home Forums Blogary WordPress Theme How to replace “Pinterest” as “Linkedin” in the social-media

This topic contains 0 replies, has 1 voice, and was last updated by  BWSM 2 years ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #6694

    BWSM
    Keymaster

    Find find line 1124-1126 of ../functions/interface/interface-functions.php and
    line 38-40 of template/single/content-social.php:

    <a class="share postshareicon-pinterest-wrap" href="javascript:;" onclick="javascript:window.open('http://pinterest.com/pin/create/bookmarklet/?url=<?php echo $permalink; ?>&is_video=false&media=<?php echo $thumbnail[0]; ?>','', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;">
    		                <span class="fa fa-pinterest-square  postshareicon-pinterest">pin</span>
    		                </a>

    update to:

    <a class="share postshareicon-linkedin-wrap" href="http://www.linkedin.com/shareArticle?mini=true&url=<?php echo esc_url($permalink); ?>" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=<?php echo esc_url($permalink); ?>','Linkedin','width=863,height=500,left='+(screen.availWidth/2-431)+',top='+(screen.availHeight/2-250)+''); return false;">
                            <span class="fa fa-linkedin postshareicon-linkedin"></span>
                            </a>
    • This topic was modified 2 years ago by  BWSM.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.