: Why isn't Twitter widget working? I have Twitter's own widget set to load on a website, which works just fine. However, on my WP-powered blog the script is included but not rendered. I call
I have Twitter's own widget set to load on a website, which works just fine.
However, on my WP-powered blog the script is included but not rendered. I call it inside an empty div like this:
<?php include $_SERVER['DOCUMENT_ROOT'].'/twtr-widget.html' ?>
But it appears in the page source as HTML (I'm putting '...' to save room):
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({...
...</script>
In other words, the script is not being executed. Why is this?
More posts by @Samaraweera270
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.