Title: How to add HTML /Javascript to Widget
Last modified: August 21, 2016

---

# How to add HTML /Javascript to Widget

 *  [jaynm26](https://wordpress.org/support/users/jaynm26/)
 * (@jaynm26)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-html-javascript-to-widget/)
 * Hello I am trying to figure out how to add Lookbook HTMLL/JavaScript code to 
   my sidebar widgets I am adding it to the (TEXT) widget and I am applying this
   code below…but its not working
 * <!–BEGIN PROFILE WIDGET–><script src=”[http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&#8221](http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&#8221);
   type=”text/javascript”></script><script src=”[http://lookbook.nu/widget/profile.js?id=2162054&width=standard&align=center&stats_fans=1&stats_looks=1&stats_loves=1&stats_karma=1&fanbox=yes&hash=49e32bb1102af4e6d080fb2e8fe79472″></script><div](http://lookbook.nu/widget/profile.js?id=2162054&width=standard&align=center&stats_fans=1&stats_looks=1&stats_loves=1&stats_karma=1&fanbox=yes&hash=49e32bb1102af4e6d080fb2e8fe79472″></script><div)
   id=”profile_widget_container_2162054″></div><!–END PROFILE WIDGET–>

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-html-javascript-to-widget/#post-4569685)
 * Don’t add the jQuery library again
 *  Thread Starter [jaynm26](https://wordpress.org/support/users/jaynm26/)
 * (@jaynm26)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-html-javascript-to-widget/#post-4569686)
 * So..what do I delete? just the part with /libs/ or the entire
    <script src=”[http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&#8221](http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&#8221);
   Part?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-html-javascript-to-widget/#post-4569690)
 * Delete this:
 *     ```
       <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
       ```
   
 *  Thread Starter [jaynm26](https://wordpress.org/support/users/jaynm26/)
 * (@jaynm26)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-html-javascript-to-widget/#post-4569691)
 * Andrew you are a god send! Thank you so much and thank SO! much for the quick
   response
 *  Thread Starter [jaynm26](https://wordpress.org/support/users/jaynm26/)
 * (@jaynm26)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-html-javascript-to-widget/#post-4569693)
 * Ok this is what I have put in Andrew and now the widget isnt even showing 🙁 
   sorry excuse my ignorance… <!–BEGIN PROFILE WIDGET–><script src=”[http://lookbook.nu/widget/profile.js?id=2162054&width=standard&align=center&stats_fans=1&stats_looks=1&stats_loves=1&stats_karma=1&fanbox=yes&hash=49e32bb1102af4e6d080fb2e8fe79472″></script><div](http://lookbook.nu/widget/profile.js?id=2162054&width=standard&align=center&stats_fans=1&stats_looks=1&stats_loves=1&stats_karma=1&fanbox=yes&hash=49e32bb1102af4e6d080fb2e8fe79472″></script><div)
   id=”profile_widget_container_2162054″></div><!–END PROFILE WIDGET–>
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-html-javascript-to-widget/#post-4569852)
 * You need to link the page with the issue

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘How to add HTML /Javascript to Widget’ is closed to new replies.

## Tags

 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-add-html-javascript-to-widget/#post-4569852)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
