• Resolved Harryg123

    (@harryg123)


    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

    (@harryg123)

    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.
    */

    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.