Jump to content


Photo
- - - - -

Can you use Twitter widget code in Boxes?


  • Please log in to reply
1 reply to this topic

#1 bwheaton

bwheaton

    Newbie

  • Members
  • 2 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 08 February 2013 - 12:27 AM

Instead of using the Twitter Bar I'm trying to put our Twitter feed into a Box.  This is the code I'm copy / pasting from Twitter

 

<a class="twitter-timeline"  href="

Please Login or Register to see this Hidden Content

"  data-widget-id="299661277440114688">Tweets by @ThChrstnWrldvw</a>
<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="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
 

 

And yet it is not displaying at all in the Box.  Any suggestions?

 

You can see what it is displaying here:

Please Login or Register to see this Hidden Content



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 08 February 2013 - 02:14 AM

Hi,

 

A script like that will likely not work in our boxes. Alternatively, it might work in a Content Box or in WP-Boxer plugin, which replaces boxes with content blocks. We also have a product called "Anything Boxes" that might take the code.