• Resolved mef526

    (@mef526)


    Can I create a page in WordPress that allows me to put the contents of another PHP page in it?

    On my website I have installed a calendar (ExtCalendar), forum (phpBB), and WordPress. I am using WordPress as the home page and would like the calendar and forum to appear as WordPress pages and still keep the header, footer, and sidebar used in WordPress.

    Is there an easy way to do this? I tried creating a page called “Calendar” and tried to create a frame in it but it did not work. WordPress doesn’t like all flavors of HTML in the page and filtered out the <frameset> tags.

    I also tried putting in some PHP code and wordpress filtered it out also.

Viewing 1 replies (of 1 total)
  • You probably need to create a custom page template to go with the Calendar page you created.
    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
    Then you will have a custom php file for the content on that page, and you can enter whatever HTML or PHP code you want on that page.

    I’d suggest using an iframe rather than a frameset.

    You can’t put PHP code in a WP post unless you have installed a plugin that allows this. personally I think its a bad idea – custom page templates are a lot more flexible. (that’s just an opinion – some would not agree).

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress Page with frame/ existing PHP content’ is closed to new replies.