Forums

Can't Get PHP Includes To Work In WordPress (3 posts)

  1. earthtodavid
    Member
    Posted 2 years ago #

    Hi,

    I have been trying to get php includes to work in my WordPress. I'm using version 2.7.1. I want to be able to include php pages at the bottom of pages and posts but I can't get this to work.

    I've tried putting the php include at the bottom of a page and I have also tried adding the include into the page.php template itself and it doesn't work either way.

    I have installed the plugin Exec-PHP but it still doesn't work. Does anyone know what I might be doing wrong?

  2. buddha trance
    Member
    Posted 2 years ago #

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I'd recommend including secondary .php files via the templates. What exactly are you using to call these files?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags