Below I have included the full text of a template I have created.
When I use it for a new page, while it seems to work, I don’t see any footer afterwards…
My thinking: since I specify the height and the footer methods are called, then the footer should appear below the iFrame… I’m kinda an html newbie so don’t discount any obvious head-bangers on why this doesn’t work..
<?php
/*
Template Name: MyTemplateName
*/
get_header(); ?>
<div id=”primary” <?php generate_content_class();?>>
<main id=”main” <?php generate_main_class(); ?> itemprop=”mainContentOfPage” role=”main”>
<?php do_action(‘generate_before_main_content’); ?>
<!– <?php get_template_part( ‘content’, ‘page’ ); ?> –>
<center><iframe src=”http://www.example.com/example” frameborder=”0″ scrolling=”no” width=”1080″ height=”1080″ name=”ex1″ id=”ex1″</iframe></center>
<?php do_action(‘generate_after_main_content’); ?>
</main><!– #main –>
</div><!– #primary –>
<?php
do_action(‘generate_sidebars’);
get_footer();