WordPress.org

Ready to get started?Download WordPress

Forums

Escaping Javascript in a Text Widget? (2 posts)

  1. bitbass
    Member
    Posted 5 years ago #

    Topic pretty much says it. I want to add a widget that shows Amazon widgets but I've run into this problem adding any javascript based code. The ad management systems are ok but I just want to add a widget. Doing it with a Text widget of course fails because it can't parse the code.

    So, what's the trick?

  2. design_dolphin
    Member
    Posted 5 years ago #

    Placing the javascript code directly in the sidebar or using a plugin such as Exec-PHP.

    Link to Exec-PHP plugin:
    http://wordpress.org/extend/plugins/exec-php/

Topic Closed

This topic has been closed to new replies.

About this Topic