Answer the question
In order to leave comments, you need to log in
How to display VKontakte DISCUSSIONS on the site?
Good evening everyone! It is necessary to bring DISCUSSIONS from VK to the site, because. there is already a huge database of reviews there and I want to transfer it to the site.
I know that VK is not friendly with iFrame ... It is possible through the parser, BUT you also need the ability to write new posts in DISCUSSIONS ... In general, is there any solution? :D It would be ideal to run iFrame anyway... But how?
PS: site on the WordPress platform (maybe there is a plugin)
Answer the question
In order to leave comments, you need to log in
var count = $(".container>*").length; // =3 - количество элементов непосредственных потомков
var count = $(".container *").length; // =6 - количество потомков вместе с их "детьми"))
Unfortunately, VK does not have a widget, but I myself needed this functionality, I wrote it in haste.
https://github.com/MainCorp/discussions-vk
if you need help - write to the mail, indicated on the git :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question