How to add a PHP script to wordpress (3 posts)

  1. Remataklan
    Posted 8 years ago #

    I have a PHP program. I want to be able to run this program inside a wordpress page. How to do it? Does it have to be in the form of a template or plugin?

    Is it enough to turn the program to a template and insert it as a new page?

    Will the page handle $_GET and $_POSTs correctly?

  2. How you do it largely depends on what, exactly, it does.

    Template pages can indeed see GET and POST variables, but you have to be careful about which variables, because WordPress itself uses lots of variables too.

  3. jpadie
    Posted 8 years ago #

    try the exec-php plugin

Topic Closed

This topic has been closed to new replies.

About this Topic