WordPress.org

Support

Support » How-To and Troubleshooting » how to integrate other PHP script into wordpress page theme

how to integrate other PHP script into wordpress page theme

  • Mike
    Participant

    @mikedark

    Wondering how would one go about putting a ‘site within a site’ so to speak.

    specifically, i want to add the following script to a page of my site: http://www.dnsportfolio.com/index.html

    the script is not just a simple script, but actually meant to be able to function as a stand alone site – i.e. it has a header.php, footer.php and full PHP architecture.

    i want to integrate it into a page of my site, so i created a directory and installed it, so i could navigate to the homepage as mysite.com/directory

    question is, what would i need to do to wrap the site that’s inside that directory into the skin/theme of my main wordpress site? is this possible to do? i’ve messed around tried a few things, but i’m not sure what to do as on that page there would be two headers, two footers, etc, and how to do the integration.

    would i need to call the wordpress header from the script header, using some PHP markup, or … ?

    any suggestions much appreciated!

  • The topic ‘how to integrate other PHP script into wordpress page theme’ is closed to new replies.