| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/thevoux-wp/inc/templates/loop/ |
Upload File : |
<?php
$vars = $wp_query->query_vars;
$thb_class = array_key_exists('thb_class', $vars) ? $vars['thb_class'] : false;
$thb_class = array_key_exists('thb_class', $vars) ? $vars['thb_class'] : false;
$thb_author = array_key_exists('thb_author', $vars) ? $vars['thb_author'] : false;
$thb_noexcerpt = array_key_exists('thb_noexcerpt', $vars) ? $vars['thb_noexcerpt'] : false;
$thb_image_size = array_key_exists('thb_image_size', $vars) ? $vars['thb_image_size'] : 'thevoux-style1-2x';
$thb_sharestyle = array_key_exists('thb_sharestyle', $vars) ? $vars['thb_sharestyle'] : 'post-links';
add_filter( 'excerpt_length', 'thb_supershort_excerpt_length' );
$classes[] = 'post style1';
$classes[] = $thb_class;
?>
<article itemscope itemtype="http://schema.org/Article" <?php post_class($classes); ?>>
<div class="row align-middle">
<div class="small-12 medium-5 large-6 columns">
<?php if ( has_post_thumbnail() ) { ?>
<figure class="post-gallery <?php do_action('thb_is_gallery'); ?><?php do_action('thb_is_review'); ?>">
<?php do_action('thb_post_review_average'); ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail($thb_image_size); ?></a>
</figure>
<?php } ?>
</div>
<div class="small-12 medium-7 large-6 columns">
<div class="thb-post-style1-content">
<?php do_action('thb_categories'); ?>
<aside class="post-author cf">
<time class="time" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" itemprop="datePublished" content="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo thb_human_time_diff_enhanced(); ?></time>
</aside>
<header class="post-title entry-header">
<h3 itemprop="headline"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
</header>
<?php if ($thb_author) { ?>
<aside class="post-author">
<em><?php _e('by', 'thevoux'); ?></em> <?php the_author_posts_link(); ?>
</aside>
<?php } ?>
<div class="post-content small">
<?php if (!$thb_noexcerpt) { the_excerpt(); } ?>
<?php get_template_part( 'inc/templates/postbits/'.$thb_sharestyle ); ?>
</div>
</div>
</div>
</div>
<?php do_action('thb_PostMeta'); ?>
</article>