adding widget

How do i add a widget that is written in XHTML code?

Hey Larry,

Welcome to the Wix Code forums.

You can try using the HtmlComponent . See the article Working with the HTML Component in Wix Code for details. It really depends on the code, but this may work for you.

Good luck,

Yisrael