| 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/post-template/ |
Upload File : |
<?php
$sticky = get_option( 'sticky_posts' );
$args = array(
'posts_per_page' => 1,
'post__in' => $sticky,
'ignore_sticky_posts' => 1,
'post_type' => 'post'
);
// The Query
$query1 = new WP_Query( $args );
if(isset($sticky[0]) && !$paged){
// The Loop
while ( $query1->have_posts() ) {
$query1->the_post();
?>
<div class="row"><div class="col-md-12">
<?php
$novablog_standard_modern_layout = get_post_meta(get_the_ID(), 'novablog_standard_layout_format', true);
if($novablog_standard_modern_layout == esc_html__('portrait','novablog')){
get_template_part('content-portrait');
}else{
get_template_part('content');
}
if (novablog_getVariable('related_post') !='no' and novablog_getVariable('related_post_single') !='yes') { get_template_part( 'post-template/related-posts' ); }
?>
</div></div>
<?php
}
}
wp_reset_postdata();
?>