Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi
File: footer.php
<?php
[0] Fix | Delete
if ( et_theme_builder_overrides_layout( ET_THEME_BUILDER_HEADER_LAYOUT_POST_TYPE ) || et_theme_builder_overrides_layout( ET_THEME_BUILDER_FOOTER_LAYOUT_POST_TYPE ) ) {
[1] Fix | Delete
// Skip rendering anything as this partial is being buffered anyway.
[2] Fix | Delete
// In addition, avoids get_sidebar() issues since that uses
[3] Fix | Delete
// locate_template() with require_once.
[4] Fix | Delete
return;
[5] Fix | Delete
}
[6] Fix | Delete
[7] Fix | Delete
/**
[8] Fix | Delete
* Fires after the main content, before the footer is output.
[9] Fix | Delete
*
[10] Fix | Delete
* @since 3.10
[11] Fix | Delete
*/
[12] Fix | Delete
do_action( 'et_after_main_content' );
[13] Fix | Delete
[14] Fix | Delete
if ( 'on' === et_get_option( 'divi_back_to_top', 'false' ) ) : ?>
[15] Fix | Delete
[16] Fix | Delete
<span class="et_pb_scroll_top et-pb-icon"></span>
[17] Fix | Delete
[18] Fix | Delete
<?php endif;
[19] Fix | Delete
[20] Fix | Delete
if ( ! is_page_template( 'page-template-blank.php' ) ) : ?>
[21] Fix | Delete
[22] Fix | Delete
<footer id="main-footer">
[23] Fix | Delete
<?php get_sidebar( 'footer' ); ?>
[24] Fix | Delete
[25] Fix | Delete
[26] Fix | Delete
<?php
[27] Fix | Delete
if ( has_nav_menu( 'footer-menu' ) ) : ?>
[28] Fix | Delete
[29] Fix | Delete
<div id="et-footer-nav">
[30] Fix | Delete
<div class="container">
[31] Fix | Delete
<?php
[32] Fix | Delete
wp_nav_menu( array(
[33] Fix | Delete
'theme_location' => 'footer-menu',
[34] Fix | Delete
'depth' => '1',
[35] Fix | Delete
'menu_class' => 'bottom-nav',
[36] Fix | Delete
'container' => '',
[37] Fix | Delete
'fallback_cb' => '',
[38] Fix | Delete
) );
[39] Fix | Delete
?>
[40] Fix | Delete
</div>
[41] Fix | Delete
</div> <!-- #et-footer-nav -->
[42] Fix | Delete
[43] Fix | Delete
<?php endif; ?>
[44] Fix | Delete
[45] Fix | Delete
<div id="footer-bottom">
[46] Fix | Delete
<div class="container clearfix">
[47] Fix | Delete
<?php
[48] Fix | Delete
if ( false !== et_get_option( 'show_footer_social_icons', true ) ) {
[49] Fix | Delete
get_template_part( 'includes/social_icons', 'footer' );
[50] Fix | Delete
}
[51] Fix | Delete
[52] Fix | Delete
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
[53] Fix | Delete
echo et_core_fix_unclosed_html_tags( et_core_esc_previously( et_get_footer_credits() ) );
[54] Fix | Delete
// phpcs:enable
[55] Fix | Delete
?>
[56] Fix | Delete
</div> <!-- .container -->
[57] Fix | Delete
</div>
[58] Fix | Delete
</footer> <!-- #main-footer -->
[59] Fix | Delete
</div> <!-- #et-main-area -->
[60] Fix | Delete
[61] Fix | Delete
<?php endif; // ! is_page_template( 'page-template-blank.php' ) ?>
[62] Fix | Delete
[63] Fix | Delete
</div> <!-- #page-container -->
[64] Fix | Delete
[65] Fix | Delete
<?php wp_footer(); ?>
[66] Fix | Delete
</body>
[67] Fix | Delete
</html>
[68] Fix | Delete
[69] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function