vkontakte Community Messages
eCommerce WordPress theme with various e-store features and WooCommerce support.
- GK User
- Sun Mar 12, 2017 3:02 pm
Hi!
Sorry for stupid question. I want to add vkontakte Community Messages to my site. Can you please tell me where should i add a code?
Full info here - https://vk.com/dev/CommunityMessages
Hope for your help, thanks!
Sorry for stupid question. I want to add vkontakte Community Messages to my site. Can you please tell me where should i add a code?
- Code: Select all
<script type="text/javascript" src="//vk.com/js/api/openapi.js?142"></script>
<!-- VK Widget -->
<div id="vk_community_messages"></div>
<script type="text/javascript">
VK.Widgets.CommunityMessages("vk_community_messages", 127607773, {expanded: "1",tooltipButtonText: "Any question?"});
</script>
Full info here - https://vk.com/dev/CommunityMessages
Hope for your help, thanks!
-
- Junior Boarder
- Joshua M
- Sun Mar 12, 2017 9:54 pm
Hi,
First part:
should be added to <head> section, so you can add it into StoreBox -> Template Options -> Layout tab -> Code for the HEAD section field.
The second part should be added to the place where the widget should be displayed (try to add it into i.e. Text widget)
First part:
- Code: Select all
<script type="text/javascript" src="//vk.com/js/api/openapi.js?142"></script>
should be added to <head> section, so you can add it into StoreBox -> Template Options -> Layout tab -> Code for the HEAD section field.
The second part should be added to the place where the widget should be displayed (try to add it into i.e. Text widget)
-
- Moderator
- GK User
- Mon Mar 13, 2017 7:19 pm
Thank you very much!
-
- Junior Boarder
3 posts
• Page 1 of 1