The Twitter code is below:
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
This code is on the page comments.php and that gets loaded into social.php when you first load it.
The twitter button works fine at this point.
However, when I post a comment and comments.php reloads but social.php does not reload, the Twitter script does not work and the tweet button doesn't appear.
Please may someone help me. Sorry if I am unclear in any way.