Forums

[resolved] Custom page template in use, plugins won't work? (4 posts)

  1. kelsiek
    Member
    Posted 4 months ago #

    I'm new to WordPress...

    I'm using WordPress as a CMS for a church website and would like to use a few plugins to display a Google Map and Photo Gallery.

    I've installed the plug-ins correctly and they display when the pages have no template assigned to them.

    I've also created and applied the templates correctly- they work and display all the content as they should.

    However, as soon as I assign the custom template to a page where I have assigned a plug-in, the plug-in disappears.

    What am I doing wrong?!

  2. awpninja
    Member
    Posted 4 months ago #

    Confirm that your templates have wp_head() before its </head>.

    Hope it helps,
    Pedro

  3. kelsiek
    Member
    Posted 4 months ago #

    Wow, Pedro- such an easy fix! Thank you so much I don't know how I overlooked it through all of my searching to solve this issue.

    Can you explain why that code is needed? Or point me in the direction of some additional resources?

    Thank you so much!

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 months ago #

    most plugins use either wp_head or wp_footer to output things they need to function

    http://codex.wordpress.org/Function_Reference/wp_head
    http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head

Reply

You must log in to post.

About this Topic