Struggling with a widget

  • Author
    Posts
  • #245605

    jacklphoto
    Member

    I’m sure it must be me, but I can’t solve what seems like an easy problem.

    I want to add the following code to my site:
    <script type=”text/javascript” src=”http://adage.com/power150/badge-generate.php?id=768″></script>

    I’ve added a text widget and copy/pasted the above code. However, it won’t save. Am I wrong to try to put that type of code in a text widget?

    Here’s my site: eyecube.wordpress.com
    As you can see, the widget is there (AdAge Power 150) but the dynamic code won’t stick. Any help greatly appreciated.

    #245836

    nellalou
    Member

    This is javascript. It is not permitted for security reasons. Maybe check that website and see if they offer a plain html option.

    #245837

    jacklphoto
    Member

    Ok, thanks very much. I do think they offer another option. I’ll see how that goes.

    #245838

    jacklphoto
    Member

    Here is the other image, but once again I can’t make it show up as an image:

    What do I need to add to the above when I put it in a text widget?

    Thanks,

    #245842

    nellalou
    Member

    There was recently another post on this topic with some answers that may help. Here is the link.

    https://en.forums.wordpress.com/topic.php?id=31332&replies=8

    #245846

    bubel
    Staff

    Please check out the following FAQ article:

    http://faq.wordpress.com/2006/10/18/put-an-image-in-your-sidebar/

    #245848

    jacklphoto
    Member

    bazaarofdreams,

    Thanks, it got me a lot closer: http://eyecube.wordpress.com/

    Bottom right hand corner. Not perfect, but good enough right now. Bubel, I’ll check your link right now.

    #245850

    jacklphoto
    Member

    bubel,

    thanks to you as well. I think I’ve got it as good as I am going to get it for right now. Still not quite right though.

    #245855

    bubel
    Staff

    Are you looking to do anything special with the image?

    #245858

    jacklphoto
    Member

    No, just don’t want that grey text widget background.

    #245860

    bubel
    Staff

    Unfortunately, that is controlled in the theme’s CSS and can only be changed if you purchase the appropriate upgrade (and know how to actually make the changes in the code):

    http://faq.wordpress.com/2007/10/18/about-the-custom-css-upgrade/

    #245863

    jacklphoto
    Member

    Great. Thanks again.

The topic ‘Struggling with a widget’ is closed to new replies.