File Editor
Directories:
.. (Back)
images
includes
Files:
404.php
comments.php
footer.php
functions.php
header.php
index.php
options_divi.php
page-template-blank.php
page.php
post_thumbnails_divi.php
sidebar-footer.php
sidebar.php
single-et_pb_layout.php
single-project.php
style.css
Create New File
Create
Edit File: sidebar-footer.php
<?php if ( ! is_active_sidebar( 'sidebar-2' ) && ! is_active_sidebar( 'sidebar-3' ) && ! is_active_sidebar( 'sidebar-4' ) && ! is_active_sidebar( 'sidebar-5' ) ) return; ?> <div class="container"> <div id="footer-widgets" class="clearfix"> <?php $footer_sidebars = array( 'sidebar-2', 'sidebar-3', 'sidebar-4', 'sidebar-5' ); foreach ( $footer_sidebars as $key => $footer_sidebar ) : if ( is_active_sidebar( $footer_sidebar ) ) : echo '<div class="footer-widget' . ( 3 === $key ? ' last' : '' ) . '">'; dynamic_sidebar( $footer_sidebar ); echo '</div> <!-- end .footer-widget -->'; endif; endforeach; ?> </div> <!-- #footer-widgets --> </div> <!-- .container -->
Save Changes
Rename File
Rename