WordPress theme Twenty Twelve is missing footer widgets. To insert the widgets, you can use the method below:
- Create a child theme first. If you’re not familiar with it, you can use this guide as reference: http://codex.wordpress.org/Child_Themes
- You need to create a function file under your child theme and then add this to functions.php which will register the footer widgets [codebox 1]
- Again, create a footer file in your child there. In the footer.php, you need to add the following code under the line :
<footer id="colophon" role="contentinfo">
[codebox 2] - Finally, add this to child theme style.css[codebox 3]
This will provide you 3 widgets in the footer area. Enjoy!
14 replies on “How to Add Footer Widgets to WordPress Twenty Twelve Theme”
Hello everybody,
My new post about this subject, I modified the code, you may want to check it:
http://www.gagugo.com/themiracle/3-column-footer-for-wordpress-twenty-twelve-theme
We’re currently using my new footer code on gagugo.com; and it works. I hope it helps you with your issues.
hi,i do get footer working but it makes my slideshow disappear ,when I deleted all the codes then slideshow appears again,please tell how causing slideshow to invisible. I m using slideshow plugin.thank you
I could not get this too work. It was not clear exactly what to do with the footer.php file. Do we create a new one or copy over the code from the parent code and add to it. I copied over the original file from the parent and added the new code below
Getting the following errors
// Register footer widgets register_sidebar( array( ‘name’ => __( ‘Footer Widget One’, ‘tto’ ), ‘id’ => ‘sidebar-4’, ‘description’ => __( ‘Found at the bottom of every page (except 404s, optional homepage and full width) as the footer. Left Side.’, ‘tto’ ), ‘before_widget’ => ”, ‘after_widget’ => ”, ‘before_title’ => ‘
‘, ‘after_title’ => ‘
‘, ) ); register_sidebar( array( ‘name’ => __( ‘Footer Widget Two’, ‘tto’ ), ‘id’ => ‘sidebar-5’, ‘description’ => __( ‘Found at the bottom of every page (except 404s, optional homepage and full width) as the footer. Center.’, ‘tto’ ), ‘before_widget’ => ”, ‘after_widget’ => “”, ‘before_title’ => ‘
‘, ‘after_title’ => ‘
‘, ) ); register_sidebar( array( ‘name’ => __( ‘Footer Widget Three’, ‘tto’ ), ‘id’ => ‘sidebar-6’, ‘description’ => __( ‘Found at the bottom of every page (except 404s, optional homepage and full width) as the footer. Right Side.’, ‘tto’ ), ‘before_widget’ => ”, ‘after_widget’ => “”, ‘before_title’ => ‘
‘, ‘after_title’ => ‘
‘, ) );
Paul, what is the theme you’re using?
it works
but all three widgets are displayed like one sidebar-widget (verry close togehterin one widet-area- like all three in the outer right collum ??
what can i do?
I have having the exact same effect happen. All bunched to the right.
I am using twentytwelve
Now how do I thank you for this my friend? Thanks a lot, worked perfectly, and moreover it is responsive. Tried a lot of tutorials but none of them were upto the mark, this footer rocked it for me. Thanks again!
happy to hear that it worked for you!
hi your code is so helpfull thanku
you’re welcome! 🙂
Hi followed your instructions but my main sidebar widget dissapears
Hi Mark, are you using the Twenty Twelve theme? can you please double check your coding?