• missteacup

    (@missteacup)


    Hi everyone,

    I am trying to post my web hosts’ banner in my website footer, but I don’t know how to do it.
    I am using a child theme for the twenty twelve theme, and I have the html, I just need to post it in the right place. Where exactly should I post it (within the footer.php I’m assuming)?
    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • mbeasi

    (@mbeasi)

    Hi missteacup,

    I guess this depends on where you want it to appear. I’d put it in footer.php either before or after the site info section. If you want it below, just stick your html under the closing tag (</div>) for that section, but before the closing tag for the footer (</footer>).

    Thread Starter missteacup

    (@missteacup)

    Thank you very much! My footer looks a bit different. Where would I put it here? (Sorry, I really have no clue!) (The center of the footer would be just fine.)

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains footer content and the closing of the
    * #main and #page div elements.
    *
    * @package WordPress
    * @subpackage Twenty_Twelve
    * @since Twenty Twelve 1.0
    */
    ?>
    </div><!– #main .wrapper –>
    <footer id=”colophon” role=”contentinfo”>
    <div class=”site-info”>
    <?php do_action( ‘twentytwelve_credits’ ); ?>
    ” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentytwelve’ ); ?>”><?php printf( __( ‘Proudly powered by %s’, ‘twentytwelve’ ), ‘WordPress’ ); ?>
    </div><!– .site-info –>
    </footer><!– #colophon –>
    </div><!– #page –>

    <?php wp_footer(); ?>
    </body>
    </html>

    mbeasi

    (@mbeasi)

    Depending on whether you want it above or below the site credits, I’d put it either right after this:

    <footer id=”colophon” role=”contentinfo”>

    Or right after this:

    </div><!– .site-info –>

    Thread Starter missteacup

    (@missteacup)

    Thank you so much! Just tried it and it worked well. Thanks!!!

    mbeasi

    (@mbeasi)

    You’re welcome! So glad I could help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I add an html banner to my website footer?’ is closed to new replies.