Hello itsjonesyy.
Thank you for using Filter Everything and for your feedback. You are absolutely right, it is extra and unused title. I will remove it in the next plugin update.
But for the moment you can create in your theme’s folder new dir called ‘filters’ and put there updated ‘chips.php’ file with the next code:
<?php
/**
* The Template for displaying filter selected terms.
*
* This template can be overridden by copying it to yourtheme/filter/chips.php.
*
* $chips - array, with the Filter Set parameters
*
* @see https://filtereverything.pro/resources/templates-overriding/
*/
if ( ! defined('WPINC') ) {
wp_die();
}
?>
<ul class="wpc-filter-chips-list wpc-filter-chips-<?php echo esc_attr( $setid ); ?>" data-set="<?php echo esc_attr( $setid ); ?>">
<?php if( $chips ) : ?>
<?php foreach( $chips as $chip ): ?>
<li class="wpc-filter-chip <?php echo esc_attr( $chip['class'] ); ?>">
<a href="<?php echo esc_url( $chip['link'] ); ?>" title="<?php if( $chip['name'] !== esc_html__('Reset all', 'filter-everything') ){ echo esc_attr( sprintf( __('Remove %s from results', 'filter-everything'), $chip['name'] ) ); } ?>">
<span class="wpc-chip-content">
<span class="wpc-filter-chip-name"><?php echo esc_html( $chip['name'] ); ?></span>
<span class="wpc-chip-remove-icon">×</span></a>
</span>
</li>
<?php endforeach; ?>
<?php endif; ?>
</ul>
Or you can take it from here – https://gist.github.com/wpserve/45c57028374116b1e13fa0ae0e6dd9ea
-
This reply was modified 3 years, 4 months ago by stepasyuk.
-
This reply was modified 3 years, 4 months ago by stepasyuk.
-
This reply was modified 3 years, 4 months ago by stepasyuk.
-
This reply was modified 3 years, 4 months ago by stepasyuk.