HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/locationdebateau/wp-content/themes/my-listing/templates/explore/partials/topbar.php
<?php
/**
 * Template for displaying listing types as tabs.
 *
 * @since 2.0
 */
if ( ! defined('ABSPATH') ) {
	exit;
}

if ( count( $explore->types ) <= 1 ) {
    return;
} ?>

<div class="explore-head" v-show="!(isMobile && state.mobileTab==='filters')">
	<div class="explore-types cts-carousel">
		<div class="finder-title">
			<h2 class="case27-primary-text"><?php echo esc_html( $data['title'] ) ?></h2>
		</div>
		<?php foreach ( $explore->types as $listing_type ): ?>
			<div class="type-<?php echo esc_attr( $listing_type->get_slug() ) ?> item"
				 :class="activeType.slug === '<?php echo esc_attr( $listing_type->get_slug() ) ?>'  ? 'active' : ''">
				<a @click.prevent="setType( <?php echo c27()->encode_attr( $listing_type->get_slug() ) ?> )">
					<div class="type-info">
						<i class="<?php echo esc_attr( $listing_type->get_setting( 'icon' ) ) ?>"></i>
						<h4><?php echo esc_html( $listing_type->get_plural_name() ) ?></h4>
					</div>
				</a>
			</div>
		<?php endforeach ?>
		<div class="cts-prev">prev</div>
		<div class="cts-next">next</div>
	</div>
</div>