| 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/benneplus/wp-content/themes/airi/template-parts/ |
Upload File : |
<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Airi
*/
$layout = airi_single_layout();
$hide_thumb = get_theme_mod( 'single_hide_thumb' );
$hide_date = get_theme_mod( 'single_hide_date' );
$hide_cats = get_theme_mod( 'single_hide_cats' );
$hide_author = get_theme_mod( 'single_hide_author' );
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( ( $layout['type'] == 'layout-default' ) && ( $hide_thumb == '' ) ) : ?>
<?php airi_post_thumbnail(); ?>
<?php endif; ?>
<header class="entry-header">
<?php
if ( $hide_date == '' ) {
airi_posted_on();
}
the_title( '<h1 class="entry-title">', '</h1>' );
if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php
if ( $hide_cats == '' ) {
airi_all_categories();
}
if ( $hide_author == '' ) {
airi_posted_by();
}
?>
</div><!-- .entry-meta -->
<?php
endif; ?>
</header><!-- .entry-header -->
<?php if ( ( $layout['type'] == 'layout-full' ) && ( $hide_thumb == '' ) ) : ?>
<?php airi_post_thumbnail(); ?>
<?php endif; ?>
<div class="entry-content">
<?php
the_content( sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'airi' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
) );
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'airi' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php airi_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-<?php the_ID(); ?> -->