[Resolved] How to add a Footer below an iFrame using a template

Home Forums Support [Resolved] How to add a Footer below an iFrame using a template

Home Forums Support How to add a Footer below an iFrame using a template

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #49734
    Steve Cronin

    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&#8221; 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();

    #49827
    Tom
    Lead Developer
    Lead Developer

    Interesting – do you have a link to a page so I can take a look?

    Let me know πŸ™‚

    #49926
    Steve Cronin
    #49936
    Tom
    Lead Developer
    Lead Developer

    Hmm, it looks like your iframe HTML is missing a “>”.

    It should be:

    <iframe src="http://www.wordaux.com/flyspray" frameborder="0" scrolling="no" width="1080" align="center" height="500" name="qa" id="qa"></iframe>

    Let me know if that fixes it πŸ™‚

    #50398
    Steve Cronin

    yes that did it — thank you again!!

    #50399
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.