Let us say, I create a new page under WordPress with the following content:
<IFRAME src=”<?php echo “http://seeingwithc.org”; ?>”
[Your user agent does not support frames or is currently configured
not to display frames.]
It will not work, because I cannot have PHP content within a page. I want to parametrize which site will open within the iframe. I should be able to do this my creating a new php file in my theme, and having this IFRAME code in that php file. I can call get_header etc to create a rest of the page, similar to the other pages. How do I do this?
- The topic ‘How to setup a wrapper’ is closed to new replies.