Title: Custom theme breaks plugins
Last modified: August 21, 2016

---

# Custom theme breaks plugins

 *  Resolved [Harryg123](https://wordpress.org/support/users/harryg123/)
 * (@harryg123)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-theme-breaks-plugins/)
 * Hi, I’m building my first custom theme for WordPress, I’m using page templates
   that I have created myself instead of the default templates and it looks the 
   way I want it. However the theme breaks several of my plugins, namely the All
   In One Event Calendar plugin – doesn’t display event name on hover and the ShadowBox
   JS plugin (basically lightbox) doesn’t work when I click on images.
 * I know it is the theme as when I change the to the 2014 theme, both of the problems
   above are fixed. I have checked the source of both themes and I’m including all
   the same Javascript/Jquery files and I’m not getting any Javascript errors (Google
   Chrome). Does anyone know what the problem could be? Site address is intranet.
   yourgroupuk.com. Calendar is on home page and image gallery on Gallery page.

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

 *  Thread Starter [Harryg123](https://wordpress.org/support/users/harryg123/)
 * (@harryg123)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-theme-breaks-plugins/#post-5139988)
 * After much deliberation I finally figured out what the problem was, I wasn’t 
   calling `wp_footer()` in `footer.php` and according to to the Codex –
 * >  /* Always have wp_footer() just before the closing </body>
   >  * tag of your 
   > theme, or you will break many plugins, which * generally use this hook to reference
   > JavaScript files. */
 *  [Red Deer Web Design](https://wordpress.org/support/users/bdbolin/)
 * (@bdbolin)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-theme-breaks-plugins/#post-5139999)
 * Yep, wp_footer() is definitely needed. Make sure you also have wp_head(); in 
   your header.php

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

The topic ‘Custom theme breaks plugins’ is closed to new replies.

## Tags

 * [break](https://wordpress.org/support/topic-tag/break/)
 * [broken plugins](https://wordpress.org/support/topic-tag/broken-plugins/)
 * [custom theme](https://wordpress.org/support/topic-tag/custom-theme/)
 * [Theme modification](https://wordpress.org/support/topic-tag/theme-modification/)

 * 2 replies
 * 2 participants
 * Last reply from: [Red Deer Web Design](https://wordpress.org/support/users/bdbolin/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/custom-theme-breaks-plugins/#post-5139999)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
