Edit File by line
/home/barbar84/public_h.../wp-conte.../themes/Divi
File: theme-footer.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template partial used to add content to the page in Theme Builder.
[2] Fix | Delete
* Duplicates partial content from footer.php in order to maintain
[3] Fix | Delete
* backwards compatibility with child themes.
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Fires after the main content, before the footer is output.
[8] Fix | Delete
*
[9] Fix | Delete
* Note: This action always runs while et_before_main_content runs conditionally. Possibly an unintended behavior.
[10] Fix | Delete
*
[11] Fix | Delete
* @since 3.10
[12] Fix | Delete
*/
[13] Fix | Delete
do_action( 'et_after_main_content' );
[14] Fix | Delete
?>
[15] Fix | Delete
[16] Fix | Delete
<?php if ( 'on' === et_get_option( 'divi_back_to_top', 'false' ) ) : ?>
[17] Fix | Delete
<span class="et_pb_scroll_top et-pb-icon"></span>
[18] Fix | Delete
<?php endif; ?>
[19] Fix | Delete
[20] Fix | Delete
<?php if ( ! et_builder_is_product_tour_enabled() && ! is_page_template( 'page-template-blank.php' ) ) : ?>
[21] Fix | Delete
<footer id="main-footer">
[22] Fix | Delete
<?php get_sidebar( 'footer' ); ?>
[23] Fix | Delete
[24] Fix | Delete
<?php
[25] Fix | Delete
if ( has_nav_menu( 'footer-menu' ) ) : ?>
[26] Fix | Delete
[27] Fix | Delete
<div id="et-footer-nav">
[28] Fix | Delete
<div class="container">
[29] Fix | Delete
<?php
[30] Fix | Delete
wp_nav_menu( array(
[31] Fix | Delete
'theme_location' => 'footer-menu',
[32] Fix | Delete
'depth' => '1',
[33] Fix | Delete
'menu_class' => 'bottom-nav',
[34] Fix | Delete
'container' => '',
[35] Fix | Delete
'fallback_cb' => '',
[36] Fix | Delete
) );
[37] Fix | Delete
?>
[38] Fix | Delete
</div>
[39] Fix | Delete
</div> <!-- #et-footer-nav -->
[40] Fix | Delete
[41] Fix | Delete
<?php endif; ?>
[42] Fix | Delete
[43] Fix | Delete
<div id="footer-bottom">
[44] Fix | Delete
<div class="container clearfix">
[45] Fix | Delete
<?php
[46] Fix | Delete
if ( false !== et_get_option( 'show_footer_social_icons', true ) ) {
[47] Fix | Delete
get_template_part( 'includes/social_icons', 'footer' );
[48] Fix | Delete
}
[49] Fix | Delete
[50] Fix | Delete
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
[51] Fix | Delete
echo et_core_fix_unclosed_html_tags( et_core_esc_previously( et_get_footer_credits() ) );
[52] Fix | Delete
// phpcs:enable
[53] Fix | Delete
?>
[54] Fix | Delete
</div> <!-- .container -->
[55] Fix | Delete
</div>
[56] Fix | Delete
</footer> <!-- #main-footer -->
[57] Fix | Delete
<?php endif; ?>
[58] Fix | Delete
[59] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function