/home/995789.cloudwaysapps.com/fwyvftzscd/public_html/wp-content/themes/eut/template-parts/day-tours/day_tour_tours.php
$args = array(
'post_type' => 'day-tour',
'post__not_in' => array( get_the_ID() ),
'posts_per_page' => 3,
'tax_query' => array(
array(
'taxonomy' => 'day-tours',
'field' => 'slug',
'terms' => $relatedterms['0']->slug,
),
),
);
$query = new WP_Query( $args );
if( $query->have_posts() ) : while( $query->have_posts() ) : $query->the_post(); ?>
<?php
$image = get_the_post_thumbnail_url(get_the_ID(),'medium');
$price = carbon_get_post_meta( get_the_ID(), 'crb_price' );
$duration = carbon_get_post_meta( get_the_ID(), 'crb_duration' );
$duration_unit = get_post_meta( $tourid, '_crb_duration_unit', true );
$drtn_unt = ( $duration_unit == 2 ) ? 'Hours' : 'Days';
?>
<div class="col-md-4">
<div class="tour-box">
<div class="tour-img">
<a href="<?php echo get_permalink( get_the_ID() ); ?>">
<img loading="lazy" src="<?php echo $image; ?>" alt="<?php the_title(); ?>" />
</a>
<p class="duration upphoto"><i class="icon-clock"></i> <?php echo $duration; ?> <?php echo $drtn_unt; ?></p>
<div class="btn3 upphoto">from $<?php echo $price; ?></div>
</div>
<div class="tour-data">
<span class="tour-title">
<a href="<?php echo get_permalink( get_the_ID() ); ?>">
<?php the_title(); ?>
</a>
</span>
<p><?php echo get_my_excerpt( 100 ); ?></p>
</div>
/home/995789.cloudwaysapps.com/fwyvftzscd/public_html/wp-content/themes/eut/template-parts/day-tours/day_tour_tours.php
$args = array(
'post_type' => 'day-tour',
'post__not_in' => array( get_the_ID() ),
'posts_per_page' => 3,
'tax_query' => array(
array(
'taxonomy' => 'day-tours',
'field' => 'slug',
'terms' => $relatedterms['0']->slug,
),
),
);
$query = new WP_Query( $args );
if( $query->have_posts() ) : while( $query->have_posts() ) : $query->the_post(); ?>
<?php
$image = get_the_post_thumbnail_url(get_the_ID(),'medium');
$price = carbon_get_post_meta( get_the_ID(), 'crb_price' );
$duration = carbon_get_post_meta( get_the_ID(), 'crb_duration' );
$duration_unit = get_post_meta( $tourid, '_crb_duration_unit', true );
$drtn_unt = ( $duration_unit == 2 ) ? 'Hours' : 'Days';
?>
<div class="col-md-4">
<div class="tour-box">
<div class="tour-img">
<a href="<?php echo get_permalink( get_the_ID() ); ?>">
<img loading="lazy" src="<?php echo $image; ?>" alt="<?php the_title(); ?>" />
</a>
<p class="duration upphoto"><i class="icon-clock"></i> <?php echo $duration; ?> <?php echo $drtn_unt; ?></p>
<div class="btn3 upphoto">from $<?php echo $price; ?></div>
</div>
<div class="tour-data">
<span class="tour-title">
<a href="<?php echo get_permalink( get_the_ID() ); ?>">
<?php the_title(); ?>
</a>
</span>
<p><?php echo get_my_excerpt( 100 ); ?></p>
</div>
/home/995789.cloudwaysapps.com/fwyvftzscd/public_html/wp-content/themes/eut/single-day-tour.php
// daytour Header
get_my_daytour_header();
// daytour Body
get_my_daytour_body();
// daytour Booking
get_my_daytour_booking();
// Endloop
endwhile;
// Reset My Data
wp_reset_postdata();
// reviews_box
get_reviews_box();
// realted_tours
get_my_daytour_realted_tours();
// Footer
get_footer();
/home/995789.cloudwaysapps.com/fwyvftzscd/public_html/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
/home/995789.cloudwaysapps.com/fwyvftzscd/public_html/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
/home/995789.cloudwaysapps.com/fwyvftzscd/public_html/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';