Title: HTML code appearing on page
Last modified: March 13, 2023

---

# HTML code appearing on page

 *  [arubin](https://wordpress.org/support/users/arubin/)
 * (@arubin)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/html-code-appearing-on-page/)
 * Hello, we are having an issue where we needed to add Jquery code to our website
   for a plug-in to work correctly. I added the jquery code to our header.php file
   which allowed the plug-in for this form to work. However, the jquery code is 
   now pushing what seems to be HTMl code or short codes to the bottom of the page
   on our live site. When I remove the jquery code the HTML code at the bottom goes
   away, but the plug-in does not work anymore.
 * Has anyone else had this problem?
    -  This topic was modified 3 years, 2 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 3 years, 2 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
      Reason: removed redundant url
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtml-code-appearing-on-page%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Milos Vlaisavljevic](https://wordpress.org/support/users/gdmilos/)
 * (@gdmilos)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/html-code-appearing-on-page/#post-16580973)
 * Hello [@arubin](https://wordpress.org/support/users/arubin/),
 * Thanks for reaching out!
 * As I can see, you do not have a child theme active on your site, so you modified
   the header.php file of the parent theme. Note that modifying files of parent 
   themes is not recommended as all modifications are lost once the theme is updated.
   So, if you’d like to have customized theme files, you should have a child theme.
 * Regarding the broken code – I highly recommend you remove the code from the theme
   file and use **[this](https://wordpress.org/plugins/wp-headers-and-footers/) **
   plugin instead. That way the code will be properly added and a child theme is
   not required.
 * Kindly try adding the code using the above-mentioned plugin and do not hesitate
   to let me know how it went. 🙂
 * Kind Regards,
 * Milos | GoDaddy

Viewing 1 replies (of 1 total)

The topic ‘HTML code appearing on page’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/go/1.8.18/screenshot.png)
 * Go
 * [Support Threads](https://wordpress.org/support/theme/go/)
 * [Active Topics](https://wordpress.org/support/theme/go/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/go/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/go/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Milos Vlaisavljevic](https://wordpress.org/support/users/gdmilos/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/html-code-appearing-on-page/#post-16580973)
 * Status: not resolved