The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Plugins don't seem to work in my custom theme (4 posts)

  1. michaelhisten
    Posted 3 years ago #

    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):


  2. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

  3. michaelhisten
    Posted 3 years ago #

    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!

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic