vKontakte

Home Forums Iconic One Pro Support vKontakte

This topic contains 2 replies, has 2 voices, and was last updated by  Raggan 9 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2485

    Raggan
    Participant

    Hello,

    another little question:

    I got this from vKontakte dev

    <!– Put this script tag to the <head> of your page –>
    <script type=”text/javascript” src=”//vk.com/js/api/openapi.js?115″></script>

    <script type=”text/javascript”>
    VK.init({apiId: API_ID, onlyWidgets: true});
    </script>

    <!– Put this div tag to the place, where the Like block will be –>
    <div id=”vk_like”></div>
    <script type=”text/javascript”>
    VK.Widgets.Like(“vk_like”, {type: “button”});
    </script>

    so I added the first snippet in the header.php inside the <head> tag
    and the other snippet into content.php between the lines 105 and 106 but it wont show any share button in my posts.

    what else can I do?

    Thanks a lot!

    #2490

    Double check the code and try pasting it together or use the single iframe code if they provide one. Only copy the code directly from official website and then paste between lines 105 and 106.

    To test the location:

    Paste any simple HTML/text between the lines 105 and 106 to see it working.

    Ref. for others: https://themonic.com/forums/topic/add-share-option/

    #2496

    Raggan
    Participant

    Thank you,

    think I got it!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.