• Resolved hardeeps

    (@hardeeps)


    Let us say, I create a new page under WordPress with the following content:

    <IFRAME src=”<?php echo “https://seeingwithc.org&#8221;; ?>”
    scrolling=”auto” frameborder=”0″>
    [Your user agent does not support frames or is currently configured
    not to display frames.]
    </IFRAME>

    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?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to setup a wrapper’ is closed to new replies.