Support » Fixing WordPress » How To Add A Widgetized Footer

  • I’m wondering how to add a widget-friendly footer to this to the site I’m currently working on.

    I’ve added the following code to Footer.php, as well as some CSS code to the stylesheet, but the functions.php and sidebar.php stuff confuses me. Not sure what to add to there.

    <div id="footer-sidebar" class="secondary">
       <div id="footer-sidebar1">
         <?php if ( !function_exists('dynamic_sidebar')
          || !dynamic_sidebar(3) ) : ?>
         <?php endif; ?>
       </div>
       <div id="footer-sidebar2">
         <?php if ( !function_exists('dynamic_sidebar')
          || !dynamic_sidebar(4) ) : ?>
         <?php endif; ?>
       </div>
       <div id="footer-sidebar3">
         <?php if ( !function_exists('dynamic_sidebar')
          || !dynamic_sidebar(5) ) : ?>
         <?php endif; ?>
       </div>
    </div> <!-- Close footer-sidebar -->
    <div style="clear-both"></div>

    I was following along this tutorial, but got confused along the way:
    http://www.sueblimely.com/add-widget-ready-sidebars-to-wordpress-footers/

    Any help will be greatly appreciated.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How To Add A Widgetized Footer’ is closed to new replies.