Support » Themes and Templates » Plugins don't seem to work in my custom theme

  • I’m creating my own theme for my website, and I’ve been trying to add a plugin to allow a “recommend” style functionality. The two I’ve tried (WPI Like Post and I Recommend This) both work fine in the default theme but fail to have any functionality when I turn my custom theme on.

    I’m wondering if there is some element I am missing in my theme code — I can see two possibilities:

    1. Something in my theme is making the plugins look in the wrong path
    2. There is some required code line that I have missing from my theme which is causing some issue

    Can anyone offer some help? Here’s a sample page (note that this is all dummy content and this site is not live nor complete):

    http://michaelhisten.com/blog/welcome-to-the-blog

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Forum Moderator

    Does your custom theme include a call to wp_footer() just before the </body> tag in footer.php. Many plugins use wp_footer as a hook.

    I realized I was missing both that and wp_head() — and at least one of the plugins started to work after I made that change. Thank you!

    esmi

    (@esmi)

    Forum Moderator

    Glad I could help 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugins don't seem to work in my custom theme’ is closed to new replies.