403Webshell
Server IP : 192.64.118.117  /  Your IP : 3.145.109.97
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/mobilecreationz.com/wp-content/themes/TESSERACT/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/mobilecreationz.com/wp-content/themes/TESSERACT/sidebar.php
<?php
/**
 * The sidebar containing the main widget area.
 *
 * @package Tesseract
 */

if ( ! is_active_sidebar( 'sidebar-1' ) || is_home () ) { /* Does not appear on frontpage */
	return;
}

if ( is_plugin_active('woocommerce/woocommerce.php') ) {
	
	$layout_loop = get_theme_mod('tesseract_woocommerce_loop_layout');
	$layout_product = get_theme_mod('tesseract_woocommerce_product_layout');
	$layout_default = get_theme_mod('tesseract_woocommerce_default_layout');	
	
	if ( ( function_exists( 'WC' ) && (is_shop() || is_product_category() || is_product_tag()) ) && ( $layout_loop == 'sidebar-right' ) ) { 	
		$sidebarClass = 'woo-archive woo-right-sidebar'; 
	} else if ( is_product() && $layout_product == 'sidebar-right' ) {
		$sidebarClass = 'woo-product woo-right-sidebar';
	} else {
		$sidebarClass = 'sidebar-default';
	}
} ?>

<div id="secondary" class="widget-area <?php echo $sidebarClass; ?>" role="complementary">
	<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->

Youez - 2016 - github.com/yon3zu
LinuXploit