| 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_nocats = array_key_exists('thb_nocats', $vars) ? $vars['thb_nocats'] : false;
$thb_noimage = array_key_exists('thb_noimage', $vars) ? $vars['thb_noimage'] : false;
$thb_shares = array_key_exists('thb_shares', $vars) ? $vars['thb_shares'] : false;
$thb_counts = array_key_exists('thb_counts', $vars) ? $vars['thb_counts'] : false;
$thb_imagesize = array_key_exists('thb_imagesize', $vars) ? $vars['thb_imagesize'] : 'thumbnail';
$thb_class = array_key_exists('thb_class', $vars) ? $vars['thb_class'] : false;
$figure_classes[] = 'figure';
$figure_classes[] = $thb_counts ? 'count-image' : false;
$figure_classes[] = $thb_class;
?>
<li itemscope itemtype="http://schema.org/Article" <?php post_class('post listing'); ?>>
<?php if (has_post_thumbnail() && !$thb_noimage) { ?>
<a class="<?php echo implode(' ', $figure_classes); ?>" href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
<?php if($thb_counts) { ?><span class="count"><?php echo esc_attr($thb_counts); ?></span><?php } ?>
<?php the_post_thumbnail($thb_imagesize); ?>
</a>
<?php } ?>
<div class="listing_content">
<?php if (!$thb_nocats) { do_action('thb_categories'); } ?>
<header class="post-title entry-header">
<?php the_title('<h6 class="entry-title" itemprop="name headline"><a href="'.get_permalink().'" title="'.the_title_attribute("echo=0").'">', '</a></h6>'); ?>
</header>
<?php if ($thb_shares) { get_template_part( 'inc/templates/postbits/post-just-shares' ); } ?>
<?php do_action('thb_PostMeta'); ?>
</div>
</li>