Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adsense javascript in Text widget

  • Whenever I add some javascript to a text widget and save it disappears, is that by design?

    Same thing happens when I embed an <object tag in a post – it disappears too – tried it many times with same results

Viewing 1 replies (of 1 total)

  • Burt Adsit
    Participant

    @burtadsit

    The standard text widget strips out code and only allows ‘approved’ html. Anything other than basic html in posts and widgets is going to be stripped. Can’t have just anybody putting active code all over the place now can we? Security thing. WP thing.

Viewing 1 replies (of 1 total)
  • The topic ‘Adsense javascript in Text widget’ is closed to new replies.
Skip to toolbar