403Webshell
Server IP : 62.72.47.131  /  Your IP : 216.73.217.34
Web Server : Apache/2.4.66 (Debian)
System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User :  ( 501)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/flatsome/woocommerce/loop/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/flatsome/woocommerce/loop/filter-button.php
<?php
/**
 * Shop category filter button template
 *
 * @package          Flatsome/WooCommerce/Templates
 * @flatsome-version 3.20.0
 */

$layout = get_theme_mod( 'category_sidebar', 'left-sidebar' );

if ( 'none' === $layout || ( get_theme_mod( 'html_shop_page_content' ) && ! is_product_category() && ! is_product_tag() && ! is_search() ) ) {
	return;
}

$is_off_canvas_layout = 'off-canvas' === $layout;
$class                = 'show-for-medium';

if ( $is_off_canvas_layout ) {
	$class = '';
}

$custom_filter_text = get_theme_mod( 'category_filter_text' );
$filter_text        = $custom_filter_text ? $custom_filter_text : __( 'Filter', 'woocommerce' );
$overlay_position   = get_theme_mod( 'category_filter_overlay_position', 'left' );

$link_atts = [
	'href'               => '#',
	'data-open'          => '#shop-sidebar',
	'data-pos'           => $overlay_position,
	'class'              => 'filter-button uppercase plain',
	'role'               => 'button',
	'aria-controls'      => 'shop-sidebar',
	'aria-expanded'      => 'false',
	'aria-haspopup'      => 'dialog',
	'data-visible-after' => $is_off_canvas_layout ? null : 'true',
];
?>
<div class="category-filtering category-filter-row <?php echo esc_attr( $class ); ?>">
	<a <?php echo flatsome_html_atts( $link_atts ); ?>>
		<?php echo get_flatsome_icon( 'icon-equalizer' ); ?>
		<strong><?php echo esc_html( $filter_text ); ?></strong>
	</a>
	<div class="inline-block">
		<?php the_widget( 'WC_Widget_Layered_Nav_Filters', array( 'title' => '' ) ); ?>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit