Title: Adding wp_footer() to Theme duplicates javascript code
Last modified: August 20, 2016

---

# Adding wp_footer() to Theme duplicates javascript code

 *  [Grubbyseismic](https://wordpress.org/support/users/grubbyseismic/)
 * (@grubbyseismic)
 * [15 years ago](https://wordpress.org/support/topic/adding-wp_footer-to-theme-duplicates-javascript-code/)
 * I have a problem with `wp_footer()`.
 * I can still use the admin bar wether I use this function or not; but when I do
   add it in all the JavaScript that runs it duplicated into (what’s affectively)
   the footer of my theme.
 * N.B. There is still only one AB available, when I view the site in a browser.
 * Any got some knowledge they want to share?…

The topic ‘Adding wp_footer() to Theme duplicates javascript code’ is closed to 
new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [duplicated](https://wordpress.org/support/topic-tag/duplicated/)
 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Grubbyseismic](https://wordpress.org/support/users/grubbyseismic/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/adding-wp_footer-to-theme-duplicates-javascript-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
