Change the just-posted answer with Ajax : which file is it ?
Hi,
I added social buttons (Facebook etc) to share each answer, by adding code on answer.php.
The problem is that when somebody writes an answer, it is published with Ajax and the content of answer.php is not called, so the buttons do not appear automatically.
So there is another file I should edit to do that, apparently. Which one is it ?
Thanks for your answer !
Hello,
This is because you may using one css ID for all sharing buttons. Please use class instead of id orĀ id like this:
id="answer_social_<?php echo the_ID(); ?>"
berenice_Magnan commented on answer
Hello,
Will you please upload a screenshot so that I can know what you are pointing at.