Nenhuma Descrição

footer.php 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * The template for displaying the footer
  4. *
  5. * Contains the closing of the #content div and all content after.
  6. *
  7. * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
  8. *
  9. * @package XShop
  10. */
  11. ?>
  12. <footer id="colophon" class="site-footer <?php if(is_active_sidebar( 'footer-widget' )): ?>has-footer-widget<?php endif; ?>">
  13. <?php if(is_active_sidebar( 'footer-widget' )): ?>
  14. <div class="footer-widget footer-top bg-dark text-white pt-3 pb-3">
  15. <div class="container">
  16. <?php dynamic_sidebar( 'footer-widget' ); ?>
  17. </div>
  18. </div>
  19. <?php endif; ?>
  20. <div class="site-info text-center pt-3 pb-3 ">
  21. <div class="container">
  22. <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'xshop' ) ); ?>">
  23. <?php
  24. /* translators: %s: CMS name, i.e. WordPress. */
  25. printf( esc_html__( 'Proudly powered by %s', 'xshop' ), 'WordPress' );
  26. ?>
  27. </a>
  28. <span class="sep"> | </span>
  29. <?php
  30. /* translators: 1: Theme name, 2: Theme author. */
  31. printf(esc_html__('%1$s by %2$s.', 'xshop'), '<a href="https://wpthemespace.com/product/xshop/">X Shop</a>', 'Wp Theme Space');
  32. ?>
  33. </div><!-- .site-info -->
  34. </div><!-- .container -->
  35. </footer><!-- #colophon -->
  36. </div><!-- #page -->
  37. <?php
  38. if ( function_exists( 'xshop_woocommerce_header_cart' ) ) {
  39. xshop_woocommerce_header_cart();
  40. }
  41. ?>
  42. <?php wp_footer(); ?>
  43. </body>
  44. </html>