Including a .php page into a WordPress Page

  • Author
  • #480606


    I have a script I wrote that I’d like to use within my wordpress template. I figured the easiest way would be to <?php include ?>, but cannot get it to work. Any suggestions?



    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you’ll find help at the forums.

    If you don’t understand the difference between and, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.


    We cannot help until we know the address of your blog. Where the blog is hosted makes a difference. If it is hosted here at wordpress.COM, then you cannot use scripts of any sort due to security concerns. They will be stripped out.

    If the blog is self-hosted on a third-party hosting service such as godaddy, bluehost, etc., then this is the wrong forum and you need to ask over at the wordpress.ORG forums as the supportbot suggests.

The topic ‘Including a .php page into a WordPress Page’ is closed to new replies.