• ShelbyAnne

    (@shelbyanne)


    Hi,

    So I found this great forum on how to get widgets in your footer.

    http://themeid.com/help/discussion/1086/are-footer-widgets-possible/p1

    I followed it. But I am having trouble figuring out their final step.

    –Last step is to include our newly created sidebar where you want your footer to appear, usually in footer.php so you will need to copy footer.php from /responsive/ to /responsive-child-theme/ and paste this code under footer-wrapper or where you want it.

    <div id=”footer-wrapper”>
    <?php get_sidebar(‘home’); ?> —

    I don’t know where to put this in my footer. I have tried many places. Sometimes it makes my home page slideshow disappear.

    But the footer widgets show up in the admin page so I know it’s just something with the coding/placement.

    Any help would be greatly appreciated!

    My website is http://www.totemag.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • This topic has the infothat you need ( footer widgets for twentytwelve ).
    http://wordpress.org/support/topic/theme-twenty-twelve-footer-widgets

    The page you linked to above is for another theme, althought the same principle but the code sample there is for different theme.

    Thread Starter ShelbyAnne

    (@shelbyanne)

    Okay great! The problem that I am running into now is that the coding that was said to place in the child theme functions.php is not working for me. It just shows the coding for that on my website above everything else. Not sure why it did that.

    In functions.php file, make sure you have this at the top first.

    <?php

    and then below that line, put in your php codes, and nothing else at the bottom.

    Keep in mind that functions.php and other php template files are not like style.css. The php thing is to output the markup and do other stuff (interact with WP core), making mistake in style.css will result in wrong font-size for example, but mistake in php is a lot worse.

    I recommend don’t do that to a live site.

    Do what the professional would do, make a local ( or online but different location, no-index one ) for development and deploy only after everything’s been tested.

    Thread Starter ShelbyAnne

    (@shelbyanne)

    Thanks that actually did it! The only problem I am running into now is that I moved my facebook likes plugin to the footer and two of them are showing up. Any ideas?

    Right now in the source code of the page you got this

    <footer id="colophon" role="contentinfo">
    	<div id="footer-widgets" class="widget-area three">..</div>
    	<div id="footer-widgets" class="widget-area three">..</div>
    	<div class="site-info">..</div>
    </footer>

    See the duplication there ?

    Check and see if there are duplicate calls to get_footer() template.

    Thread Starter ShelbyAnne

    (@shelbyanne)

    Thanks I found the duplicate!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Widgets in Footer –problem’ is closed to new replies.