%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/friendstravel.al/wp-content/plugins/travel-booking/templates/
Upload File :
Create Path :
Current File : /var/www/html/friendstravel.al/wp-content/plugins/travel-booking/templates/archive-tour.php

<?php
/**
 * The Template for displaying product archives, including the main shop page which is a post type archive
 *
 * @author : Physcode
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

get_header();
if ( get_option( 'tours_show_page_id' ) ) {
	global $wp_query;
	$page_current_id = get_option( 'tours_show_page_id' );
	?>
	<div id="archive-tour">
		<div class="top_site_main">
			<div class="banner-wrapper container article_heading">
				<div class="breadcrumbs-wrapper">
					<ul class="phys-breadcrumb">
						<li>
							<a href="<?php echo get_home_url() ?>"><?php echo _e( 'Home', 'travel-booking' ) ?></a>
						</li>
						<li><?php echo get_the_title( $page_current_id ); ?></li>
					</ul>
				</div>
				<h1 class="page-title"><?php echo get_the_title( $page_current_id ); ?></h1>
			</div>
		</div>
		<section class="content-area alignleft col-sm-9">
			<div class="container">
				<div class="site-main col-sm-9">
					<?php tb_get_file_template( 'loop/result-count.php' ) ?>
					<form class="tour-ordering" method="get">
						<select name="orderby" class="orderby">
							<?php
							$orderby_selected        = isset( $_GET['orderby'] ) ? $_GET['orderby'] : '';
							$catalog_orderby_options = apply_filters( 'tour_catalog_orderby', array(
								'menu_order' => __( 'Default sorting', 'travel-booking' ),
								'popularity' => __( 'Sort by popularity', 'travel-booking' ),
								'rating'     => __( 'Sort by average rating', 'travel-booking' ),
								'date'       => __( 'Sort by newness', 'travel-booking' ),
								'price'      => __( 'Sort by price: low to high', 'travel-booking' ),
								'price-desc' => __( 'Sort by price: high to low', 'travel-booking' )
							) );
							foreach ( $catalog_orderby_options as $id => $name ) :
								?>
								<option value="<?php echo esc_attr( $id ); ?>"
								        selected="<?php echo $orderby_selected ?>"><?php echo esc_html( $name ); ?></option>
							<?php endforeach; ?>
						</select>
					</form>
					<?php
					$tour_display_mode = 'grid';
					if ( get_option( 'tours_show_page_mode' ) ) {
						$tour_display_mode = get_option( 'tours_show_page_mode' );
					} ?>
					<ul class="tours wrapper-tours-slider <?php echo $tour_display_mode ?>">
						<?php if ( have_posts() ) : ?>

						<?php while ( have_posts() ) : the_post(); ?>

							<?php tb_get_file_template( 'content-tour.php', false ); ?>

						<?php endwhile; ?>
					</ul>
				<?php else: ?>

					<p class="woocommerce-info"><?php _e( 'No tours were found matching your selection.', 'travel-booking' ); ?></p>

				<?php endif; ?>
					<?php tb_get_file_template( 'loop/pagination.php' ) ?>
				</div>
			</div>
		</section>
		<div class="widget-area alignright col-sm-3">
			<?php
			dynamic_sidebar( 'sidebar-tour-phys' );
			?>
		</div>
	</div>
	<?php
}
get_footer();
exit;
?>

Zerion Mini Shell 1.0