OwlCyberSecurity - MANAGER
Edit File: footer.php
<?php global $wp_query; $page_id = ( $wp_query->is_posts_page ) ? $wp_query->queried_object->ID : get_the_ID(); $options = conat_WSH()->option(); $allowed_html = wp_kses_allowed_html( 'post' ); ?> <div class="clearfix"></div> <?php conat_template_load( 'templates/footer/footer.php', compact( 'page_id' ) ); ?> </div><!-- End Page Wrapper --> <?php if( $options->get('show_cart_v1') or $options->get('show_cart_v2') ){ if( function_exists( 'WC' ) ): global $woocommerce; ?> <!-- Sidebar Cart Item --> <div class="xs-sidebar-group info-group"> <div class="xs-overlay xs-bg-black"></div> <div class="xs-sidebar-widget"> <div class="sidebar-widget-container"> <div class="close-button"> <span class="fa fa-solid fa-xmark fa-fw"></span> </div> <div class="sidebar-textwidget"> <!-- Sidebar Info Content --> <div class="sidebar-info-contents"> <div class="content-inner"> <!-- Title Box --> <div class="title-box"> <h5><?php echo esc_html_e('Shopping Cart', 'conat'); ?></h5> </div> <!-- Lower Box --> <div class="lower-box"> <?php get_template_part('woocommerce/cart/mini-cart'); ?> </div> <?php if ( $woocommerce->cart->cart_contents_count != 0 ) { ?> <div class="bottom-box"> <div class="cart-subtotal"> <p><?php esc_html_e('Subtotal:', 'conat'); ?> <strong class="float-right"><?php echo wp_kses_post($woocommerce->cart->get_cart_total()); ?></strong></p> </div> <div class="cart-action"> <a href="<?php echo wc_get_cart_url(); ?>"><span><?php esc_html_e('View Cart', 'conat'); ?></span></a> <a href="<?php echo wc_get_checkout_url(); ?>"><span><?php esc_html_e('Check Out', 'conat'); ?></span></a> </div> </div> <?php } ?> </div> </div> </div> </div> </div> </div> <?php endif; } ?> <!-- Search Popup --> <div class="search-popup"> <div class="color-layer"></div> <button class="close-search"><span class="fa fa-solid fa-xmark fa-fw"></span></button> <?php echo get_template_part('searchform1'); ?> </div> <!-- End Search Popup --> <?php if($options->get('back_to_top')) { ?> <!-- Back To Top Start --> <div class="progress-wrap"> <svg class="progress-circle svg-content" width="100%" height="100%" viewBox="-1 -1 102 102"> <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" /> </svg> </div> <!-- back to top end --> <?php } ?> </div> <?php wp_footer(); ?> </body> </html>