Home Forums Iconic One Pro Support vKontakte

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

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



    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});

    <!– 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”});

    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!


    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/



    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.