HEX
Server: LiteSpeed
System: Linux premium12.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User: desetmhw (842)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/desetmhw/estraveltourim.site/wp-content/themes/travel-joy/wp-travel/archive-itineraries.php
<?php
/**
 * Itinerary Archive Template
 *
 * This template can be overridden by copying it to yourtheme/wp-travel/archive-itineraries.php.
 *
 * HOWEVER, on occasion wp-travel will need to update template files and you (the theme developer).
 * will need to copy the new files to your theme to maintain compatibility. We try to do this.
 * as little as possible, but it does happen. When this occurs the version of the template file will.
 * be bumped and the readme will list any important changes.
 *
 * @see         http://docs.wensolutions.com/document/template-structure/
 * @author      WenSolutions
 * @package     wp-travel/Templates
 * @since       1.0.0
 */

if ( ! function_exists( 'travel_joy_itinerary_get_template_part' ) ) {
	return;
}

get_header( 'itinerary' );
do_action( 'travel_joy_before_archive_itinerary_wrapper' );
?>
<div id="main-content" class="wp-travel-archive-itinerary-wrapper">
	<?php
	do_action( 'wp_travel_before_main_content' );
	if ( have_posts() ) :
		while ( have_posts() ) :
			the_post();
			travel_joy_itinerary_get_template_part( 'content', 'archive-itineraries' );
		endwhile; // end of the loop.
	else :
		travel_joy_itinerary_get_template_part( 'content', 'archive-itineraries-none' );
	endif;
	do_action( 'wp_travel_after_main_content' );
	do_action( 'wp_travel_archive_listing_sidebar' );
	?>
</div>
<?php
get_footer( 'itinerary' );