File Editor
Directories:
.. (Back)
css
fonts
images
inc
js
languages
page-templates
plugins
widgets
Files:
404.php
archive-employees.php
archive-services.php
archive.php
changelog.txt
comments.php
content-none.php
content-page.php
content-search.php
content-single.php
content.php
footer.php
functions.php
header.php
home.php
index.php
license.txt
page.php
readme.txt
search.php
sidebar-footer.php
sidebar.php
single.php
style.css
Create New File
Create
Edit File: sidebar-footer.php
<?php /** * * @package Sydney */ ?> <?php //Set widget areas classes based on user choice $widget_areas = get_theme_mod('footer_widget_areas', '3'); if ($widget_areas == '3') { $cols = 'col-md-4'; } elseif ($widget_areas == '4') { $cols = 'col-md-3'; } elseif ($widget_areas == '2') { $cols = 'col-md-6'; } else { $cols = 'col-md-12'; } ?> <div id="sidebar-footer" class="footer-widgets widget-area" role="complementary"> <div class="container"> <?php if ( is_active_sidebar( 'footer-1' ) ) : ?> <div class="sidebar-column <?php echo $cols; ?>"> <?php dynamic_sidebar( 'footer-1'); ?> </div> <?php endif; ?> <?php if ( is_active_sidebar( 'footer-2' ) ) : ?> <div class="sidebar-column <?php echo $cols; ?>"> <?php dynamic_sidebar( 'footer-2'); ?> </div> <?php endif; ?> <?php if ( is_active_sidebar( 'footer-3' ) ) : ?> <div class="sidebar-column <?php echo $cols; ?>"> <?php dynamic_sidebar( 'footer-3'); ?> </div> <?php endif; ?> <?php if ( is_active_sidebar( 'footer-4' ) ) : ?> <div class="sidebar-column <?php echo $cols; ?>"> <?php dynamic_sidebar( 'footer-4'); ?> </div> <?php endif; ?> </div> </div>
Save Changes
Rename File
Rename