• Resolved silis25

    (@silis25)


    Hi,

    1. I want to add vk like button along with the facebook like button side by side.

    2. There are two places which requires modification:

    2.1. index.php
    2.2. single.php

    3. VK like code:

    <div id="vk_like"></div>
    <script type="text/javascript">
    VK.Widgets.Like("vk_like", {type: "full"});
    </script>

    4. An example can be found below:

    http://www.letthemstare.com/test.php

    My code seems to work on the test file but on blog posts it doesn’t show up right (meaning below post images).

    <div style="padding: 20px 0px;">
    <div style="float:left;">
    <div class="fb-like" data-href="http://www.letthemstare.com/catherine-dress-2/" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="trebuchet ms"></div>
    </div>
    <div style="float:left; margin-left: 10px;">
    <div id="vk_like"></div>
    <script type="text/javascript">
    VK.Widgets.Like("vk_like", {type: "button", height: 18});
    </script>
    </div>
    </div>

    Does anyone knows how to fix it?
    Thanks and regards,

    Kfir Silis

  • The topic ‘I want to add vk like button along with the facebook like button side by side’ is closed to new replies.