Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5760

    Hi!

    I am trying to add a widget area (full width) at the bottom of my home page, so that I may add custom widgets to this area. Could you please help me understand what I should add to the theme to accomplish this.

    Apologies if this is a obvious answer type of questions, I am relatively new to themeing.

    #51627

    Hey,

    excuse me for the delayed response.

    First add the following to the bottom of your functions.php file

    register_sidebar(array('name'=>'Fullwidth Footer Widget',));

    Then in your footer.php add the following right after the end wrap all comment.

    <div id="yourfooterwidgetid">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Fullwidth Footer Widget') ) : ?>
    <?php endif; ?>

    </div>

    Now you’ll be able to drag widgets there through your widgets menu.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Add Widget Area to Bottom Of Single Page’ is closed to new replies.