Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16123

    Hi kriesi,

    I love your Broadscope theme… good work!

    Is it possible for me to add a second footer area with 5 columns below the 5-column footer you already have? If so, how?

    Thanks in advance.

    atomicjayb

    #90260

    Hi,

    Open footer.php and find this code

    <div class='container_wrap' id='footer'>
    <div class='container'>

    <div class="one_fifth first">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column1') ) : else : avia_dummy_widget(1); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
    </div>
    <div class="one_fifth">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column2') ) : else : avia_dummy_widget(2); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
    </div>
    <div class="one_fifth">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column3') ) : else : avia_dummy_widget(3); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
    </div>
    <div class="one_fifth">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column4') ) : else : avia_dummy_widget(4); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
    </div>

    <div class="one_fifth">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column5') ) : else : ?>
    <a href='<?php echo get_permalink(avia_get_option('avia, email_page'));?>' class='custom_button rounded'><strong><?php _e('Contact Form','avia_framework'); ?></strong><span><?php _e('get in touch with us','avia_framework'); ?></span></a>
    <p><?php _e('This site uses valid HTML and CSS. All contents Copyright &copy;','avia_framework'); echo get_bloginfo('name');?></p>
    <?php endif;?>
    </div>
    </div>

    Paste this code below.

    <div class='container_wrap' id='footer'>
    <div class='container'>

    <div class="one_fifth first">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column6') ) : else : avia_dummy_widget(1); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
    </div>
    <div class="one_fifth">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column7') ) : else : avia_dummy_widget(2); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
    </div>
    <div class="one_fifth">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column8') ) : else : avia_dummy_widget(3); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
    </div>
    <div class="one_fifth">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column9') ) : else : avia_dummy_widget(4); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
    </div>

    <div class="one_fifth">
    <span class='arrow-down'></span>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column10') ) : else : ?>
    <a href='<?php echo get_permalink(avia_get_option('avia, email_page'));?>' class='custom_button rounded'><strong><?php _e('Contact Form','avia_framework'); ?></strong><span><?php _e('get in touch with us','avia_framework'); ?></span></a>
    <p><?php _e('This site uses valid HTML and CSS. All contents Copyright &copy;','avia_framework'); echo get_bloginfo('name');?></p>
    <?php endif;?>
    </div>
    </div>

    </div>
    <!-- ####### END FOOTER CONTAINER ####### -->

    <!-- ####### SOCKET CONTAINER ####### -->
    <div class='container_wrap' id='socket'>
    <div class='container'>
    <span class='copyright'>&copy; <?php _e('Copyright','avia_framework'); ?> - <a href='<?php echo home_url('/'); ?>'><?php echo get_bloginfo('name');?></a> - <a href='http://www.kriesi.at'>Theme Design by Kriesi.at</a></span>

    <ul class="social_bookmarks">
    <li class='rss'><a href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
    <?php
    if($twitter = avia_get_option('avia, twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>Twitter</a></li>";
    if($facebook = avia_get_option('avia, facebook')) echo "<li class='facebook'><a href='".$facebook."'>Twitter</a></li>";
    ?>
    </ul><!-- end social_bookmarks-->

    </div>
    </div>

    Now got to includes folder and open register-widget-area.php find this code

    $footer_widgets = array('column1','column2','column3','column4','column5');

    Replace it with this one

    $footer_widgets = array('column1','column2','column3','column4','column5', 'column6','column7','column8','column9','column10');

    You can now add widgets on Appearance > Widgets. Add widgets on each Footer Widget areas.

    Regards,

    Ismael

    #90261

    This works perfectly!!! Thank you for the quick turnaround.

    #90262

    Hi atomicjayb,

    Glad that I could help. :)

    Cheers,

    Ismael

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

The topic ‘Create a second FOOTER in BROADSCOPE’ is closed to new replies.