Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. <?php
  2. /**
  3. * Fires after the main content, before the footer is output.
  4. *
  5. * @since 3.10
  6. */
  7. do_action( 'et_after_main_content' );
  8.  
  9. if ( 'on' === et_get_option( 'divi_back_to_top', 'false' ) ) : ?>
  10.  
  11. <span class="et_pb_scroll_top et-pb-icon"></span>
  12.  
  13. <?php endif;
  14.  
  15. if ( ! is_page_template( 'page-template-blank.php' ) ) : ?>
  16.  
  17. <footer id="main-footer">
  18. <?php get_sidebar( 'footer' ); ?>
  19.  
  20.  
  21. <?php
  22. if ( has_nav_menu( 'footer-menu' ) ) : ?>
  23.  
  24. <div id="et-footer-nav">
  25. <div class="container">
  26. <?php
  27. wp_nav_menu( array(
  28. 'theme_location' => 'footer-menu',
  29. 'depth' => '1',
  30. 'menu_class' => 'bottom-nav',
  31. 'container' => '',
  32. 'fallback_cb' => '',
  33. ) );
  34. ?>
  35. </div>
  36. </div> <!-- #et-footer-nav -->
  37.  
  38. <?php endif; ?>
  39.  
  40. <div id="footer-bottom">
  41. <div class="container clearfix">
  42. <?php
  43. if ( false !== et_get_option( 'show_footer_social_icons', true ) ) {
  44. get_template_part( 'includes/social_icons', 'footer' );
  45. }
  46.  
  47. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
  48. echo et_core_fix_unclosed_html_tags( et_core_esc_previously( et_get_footer_credits() ) );
  49. // phpcs:enable
  50. ?>
  51. </div> <!-- .container -->
  52. </div>
  53. </footer> <!-- #main-footer -->
  54. </div> <!-- #et-main-area -->
  55.  
  56. <?php endif; // ! is_page_template( 'page-template-blank.php' ) ?>
  57.  
  58. </div> <!-- #page-container -->
  59.  
  60. <?php wp_footer(); ?>
  61. </body>
  62. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement