Support » Fixing WordPress » where to place widget code / javascript ?

  • Hi everyone I came across this fun site about Trade marks going 1v1 on each other, and they described I can embed it into my blog as well, but when I paste the code in my header.php nothing happens? the script is:

    <script type="text/javascript" src="http://tmbattle/scripts/widget.js"></script><script type="text/javascript">createWidget({user:'1', type:'1', width:'160', height:'600', origBTID:'418', replacement:'replace_with_site_current_battle', vote_from:'vote_from_site'});</script>

    this is the site for more details:

    Can anyone explain or help me get it to work on my site?

    Thanks eveyone!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Give this plugin a try:

    Scripts and Styles

    Hi Josh
    Thanks for responding so fast but I dont think that is what I am after and it seems too complicated.

    I need to add that javascript to my template file like header.php or home.php but when I add it nothing shows.

    can you create a TMBattle on your site by using the widget code? I think there maybe something wrong with that code it self, but only maybe

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘where to place widget code / javascript ?’ is closed to new replies.