| Server IP : 146.59.209.152 / Your IP : 216.73.216.152 Web Server : Apache System : Linux webm009.cluster131.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 : monpetu ( 144298) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/monpetu/www/leoreno.fr/wp-content/themes/buildexo/templates/custom-posts/ |
Upload File : |
<?php $allowed_html = wp_kses_allowed_html( 'post' ); ?>
<div class="blog-detail-page project-deta">
<figure>
<?php if ( class_exists( 'WPturner_Resizer' ) ) : ?>
<?php echo wp_kses( $img_obj->WPturner_resize( wp_get_attachment_url( get_post_thumbnail_id( get_the_ID() ), 'full' ), 1100, 600, true ), $allowed_html ); ?>
<?php else : ?>
<?php the_post_thumbnail( 'full' ); ?>
<?php endif; ?>
</figure>
<div class="blog-detail-meta">
<h2><?php the_title(); ?></h2>
<?php if ( $options->get( 'projects_single_categories' ) ) : ?>
<div class="pro-cat">
<span class="pro-title"><?php esc_html_e('Posted In:', 'buildexo' ); ?></span>
<span>
<?php $lists = get_the_terms( get_the_ID(), 'project_cat' ); ?>
<?php foreach( $lists as $list ) {
echo wp_kses(turner_set( $list,'name' ), true).', ';
}
?>
</span>
</div>
<?php endif; ?>
<?php the_content(); ?>
<?php
$entries = get_post_meta( get_the_ID(), 'project_timng', true );
if ( $entries && $options->get( 'projectsingle_timing' ) ) { ?>
<div class="opening-hours">
<?php echo ( esc_attr($options->get( 'projectsingle_timing_title' )) ) ? '<span>' .esc_attr($options->get( 'projectsingle_timing_title' )).'</span>' : ''; ?>
<ul>
<?php foreach ( (array) $entries as $key => $entry ) { ?>
<li>
<?php echo ( turner_set( $entry, 'opening_day') ) ? '<span>'.turner_set( $entry, 'opening_day') .':</span>' : ''; ?>
<?php echo ( turner_set( $entry, 'opening_time') ) ? '<p>'.turner_set( $entry, 'opening_time') .'</p>' : ''; ?>
</li>
<?php } ?>
<?php if ( $closed = get_post_meta( get_the_ID(), 'project_closed_day', true ) ) : ?>
<li>
<span><?php echo wp_kses( $closed, $allowed_html ); ?> :</span>
<i><?php esc_html_e( 'closed', 'buildexo' ); ?></i>
</li>
<?php endif; ?>
</ul>
</div>
<?php } ?>
<?php if ( $options->get( 'projectsingle_post_share' ) && $options->get( 'projectsingle_social_share' ) ) : ?>
<div class="sharing">
<span><?php esc_html_e( 'Social Sharing:', 'buildexo' ); ?></span>
<ul class="share-social">
<?php if ( ! empty( $options->get( 'projectsingle_social_share' ) ) ) : ?>
<?php
foreach ( $options->get( 'projectsingle_social_share' ) as $k => $v) {
if ($v == '')
continue;
?>
<?php do_action('turner_social_share_output', $k); ?>
<?php } ?>
<?php endif; ?>
</ul>
</div>
<?php endif; ?>
</div>
</div>