| 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/novablog/loop/ |
Upload File : |
<?php /* Loop Name: Loop single */ ?>
<?php if (have_posts()) : while (have_posts()) : the_post();
$novablog_standard_modern_layout = get_post_meta(get_the_ID(), 'novablog_standard_layout_format', true);
if ($novablog_standard_modern_layout == esc_html__('modern','novablog')) {
get_template_part('content-modern');
}elseif($novablog_standard_modern_layout == esc_html__('portrait','novablog')){
get_template_part('content-portrait');
}else{
get_template_part('content-single-normal');
}
?>
<?php
$pagination_type = novablog_getVariable('single_pagination_type');
if($pagination_type=='fixednav' && !novablog_is_touch() or $pagination_type=='bothnav' && !novablog_is_touch() ) { ?>
<ul class="fixed-post-nav">
<?php
$prev_post = get_adjacent_post(false, '', true);
if ( $prev_post ) { ?>
<li class="prev">
<?php $prevthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $prev_post->ID ), 'novablog-nextprev-thumb' );
if(!empty($prev_post)) {
echo '<a class="pointer" href="' . get_permalink($prev_post->ID) . '" title="' . $prev_post->post_title . '"><div class="preview">';
if ( $prev_post && has_post_thumbnail( $prev_post->ID ) ) {
echo '<img alt="'. theme_locals("prev_post") . '" class="nopin" width="' . esc_attr( $prevthumb[1] ) . '" height="' . esc_attr( $prevthumb[2] ) . '" src="' . esc_url( $prevthumb[0] ) . '" />';
}
echo '<p>'. theme_locals("prev_post") . '</p><h5 class="title">' . $prev_post->post_title . '</h5></div><i class="fa fa-angle-left"></i></a>';
} ?>
</li>
<?php } ?>
<?php
$next_post = get_adjacent_post(false, '', false);
if ( $next_post ) { ?>
<li class="next">
<?php $nextthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $next_post->ID ), 'novablog-nextprev-thumb' );
if(!empty($next_post)) {
echo '<a class="pointer" href="' . get_permalink($next_post->ID) . '" title="' . $next_post->post_title . '"><div class="preview">';
if ( has_post_thumbnail( $next_post->ID ) ) {
echo '<img alt="' . theme_locals("next_post") . '" class="nopin" width="' . esc_attr( $nextthumb[1] ) . '" height="' . esc_attr( $nextthumb[2] ) . '" src="' . esc_url( $nextthumb[0] ) . '" />';
}
echo '<p>' . theme_locals("next_post") . '</p><h5 class="title">' . $next_post->post_title . '</h5></div><i class="fa fa-angle-right"></i></a>';
} ?>
</li>
<?php } ?>
</ul>
<?php } ?>
<?php if($pagination_type=='paglink' or $pagination_type=='bothnav') { ?>
<div class="row paging">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<?php the_post_navigation( array(
'prev_text' => '<span class="screen-reader-text">' . esc_html__( 'Previous Post', 'novablog' ) . '</span><span aria-hidden="true" class="nav-subtitle"><i class="fa fa-angle-left"></i>' . esc_html__( 'Previous', 'novablog' ) . '</span> <span class="nav-title">%title</span>',
'next_text' => '<span class="screen-reader-text">' . esc_html__( 'Next Post', 'novablog' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . esc_html__( 'Next', 'novablog' ) . '<i class="fa fa-angle-right"></i></span> <span class="nav-title">%title</span>',
) ); ?>
</div>
<div class="clear"></div>
</div>
<?php } ?>
<?php
$related_post = novablog_getVariable('related_post') ? novablog_getVariable('related_post') : 'no';
if ($related_post !='no') { get_template_part( 'post-template/related-posts' ); } ?>
<?php comments_template('', true); ?>
<?php
endwhile; endif;
?>