| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.9/wp-content/themes/woodmart/ |
Upload File : |
<?php
/**
* The template for displaying the footer
*/
if ( woodmart_get_opt( 'collapse_footer_widgets' ) && ( ! woodmart_get_opt( 'mobile_optimization', 0 ) || ( wp_is_mobile() && woodmart_get_opt( 'mobile_optimization' ) ) ) ) {
woodmart_enqueue_inline_style( 'widget-collapse' );
woodmart_enqueue_js_script( 'widget-collapse' );
}
$page_id = woodmart_page_ID();
$disable_prefooter = woodmart_get_post_meta_value( $page_id, '_woodmart_prefooter_off' );
$disable_footer_page = woodmart_get_post_meta_value( $page_id, '_woodmart_footer_off' );
$disable_copyrights_page = woodmart_get_post_meta_value( $page_id, '_woodmart_copyrights_off' );
$footer_classes = '';
if ( woodmart_get_opt( 'footer-style' ) ) {
$footer_classes .= ' color-scheme-' . woodmart_get_opt( 'footer-style' );
}
?>
<?php if ( woodmart_needs_footer() && ! woodmart_is_woo_ajax() ) : ?>
<?php woodmart_page_bottom_part(); ?>
<?php endif; ?>
</div>
<?php if ( woodmart_needs_footer() ) : ?>
<?php
if (
! $disable_prefooter &&
(
(
'text' === woodmart_get_opt( 'prefooter_content_type', 'text' ) &&
woodmart_get_opt( 'prefooter_area' )
) ||
(
'html_block' === woodmart_get_opt( 'prefooter_content_type' ) &&
woodmart_get_opt( 'prefooter_html_block' )
)
)
) :
?>
<?php woodmart_enqueue_inline_style( 'footer-base' ); ?>
<div class="wd-prefooter">
<div class="container wd-entry-content">
<?php if ( 'text' === woodmart_get_opt( 'prefooter_content_type', 'text' ) ) : ?>
<?php echo do_shortcode( woodmart_get_opt( 'prefooter_area' ) ); ?>
<?php else : ?>
<?php echo woodmart_get_html_block( woodmart_get_opt( 'prefooter_html_block' ) );// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<?php endif; ?>
</div>
</div>
<?php endif ?>
<?php if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'footer' ) ) : ?>
<footer class="wd-footer footer-container<?php echo esc_attr( $footer_classes ); ?>">
<?php if ( ! $disable_footer_page && woodmart_get_opt( 'disable_footer' ) ) : ?>
<?php woodmart_enqueue_inline_style( 'footer-base' ); ?>
<?php if ( 'widgets' === woodmart_get_opt( 'footer_content_type', 'widgets' ) ) : ?>
<?php get_sidebar( 'footer' ); ?>
<?php else : ?>
<div class="container main-footer wd-entry-content">
<?php echo woodmart_get_html_block( woodmart_get_opt( 'footer_html_block' ) );// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php if ( ! $disable_copyrights_page && woodmart_get_opt( 'disable_copyrights' ) ) : ?>
<?php woodmart_enqueue_inline_style( 'footer-base' ); ?>
<div class="wd-copyrights copyrights-wrapper wd-layout-<?php echo esc_attr( woodmart_get_opt( 'copyrights-layout' ) ); ?>">
<div class="container wd-grid-g">
<div class="wd-col-start reset-last-child">
<?php if ( '' !== woodmart_get_opt( 'copyrights' ) ) : ?>
<?php echo do_shortcode( woodmart_get_opt( 'copyrights' ) ); ?>
<?php else : ?>
<p>© <?php echo esc_html( gmdate( 'Y' ) ); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>. <?php esc_html_e( 'All rights reserved', 'woodmart' ); ?></p>
<?php endif ?>
</div>
<?php if ( '' !== woodmart_get_opt( 'copyrights2' ) ) : ?>
<div class="wd-col-end reset-last-child">
<?php echo do_shortcode( woodmart_get_opt( 'copyrights2' ) ); ?>
</div>
<?php endif ?>
</div>
</div>
<?php endif ?>
</footer>
<?php endif ?>
</div>
<?php endif ?>
<div class="wd-close-side wd-fill"></div>
<?php do_action( 'woodmart_before_wp_footer' ); ?>
<?php wp_footer(); ?>
</body>
</html>