• Resolved wingman89

    (@wingman89)


    I am new to WordPress, so am still figuring everything out.

    I have created a page named “Blog”. I have edited the page by placing an IFrame using the following code:

    <iframe src=”page.php” width=”500″ height=”300″ scrolling=”yes”>
    <p>Your browser does not support iframes.</p>
    </iframe>

    My clients desire is to have all the “posts/replies/add a comment” (minus the header and footer) in this Iftrame, which by the way is scrollable. All the posts on the site will eventually be on the Blog page. Right now, when I view the page as coded above, I get an error “Object not found”. So I know I have the wrong SRC, which I understand at this early point in the process.

    My question is what page do I call as the SRC? Or do I have to insert code into the IFrame code area? Any settings that need to be changed.

    If I am approaching this whole thing from the wrong direction, what way would be easier and better?

    Thanks for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wingman89

    (@wingman89)

    I now have the Iframe box working, well almost. It is showing the posts page and recent posts, but I need to eliminate the header/footer and sidebar on that page within the IFramdek. What file am I seeing and how do I go about this?

    The file name that I am using for the SRC is “page_id=79”. How can I edit that file to remove the above items?

    Still struggling.

    I think you might need another installation of WordPress for this… Who owns that page? You need to install a a fresh install, copy the files and text and content over then (you should have to sites that are the same) go to the one that you’re going to put in the frame (duplicated version) and go to the editor.

    You should be able to edit the index.php file, the single.php file, the page-template.php file and basicly all the files that have the tags <?php get_footer(); ?>
    and
    <?php get_sidebar(); ?>

    Im not too sure about the header though….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with IFrame!’ is closed to new replies.