| 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/ |
Upload File : |
<?php
/**
* Template Name: Fullwidth Page Wide Parallax Photo
*/
get_header(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post();
?>
<?php
if (has_post_thumbnail() ):
?>
<?php $novablog_feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>
<?php $enable_parallax = novablog_getVariable('enable_header_parallax')== 'yes' ? 'parallax-enabled' : 'parallax-disabled'; ?>
<div class="<?php echo esc_attr($enable_parallax);?> parallax-image">
<div class="header-overlay"></div>
<div class="container"><div class="row">
<div class="col-md-12" id="content">
<?php $novablog_page_title = get_post_meta( get_the_ID(), 'novablog_page_title_enable', true );
if($novablog_page_title == esc_html__('enable','novablog')){
?>
<section class="title-section">
<?php
$novablog_title = get_post_meta( get_the_ID(), 'novablog_page_tit', true );
$novablog_subtitle = get_post_meta( get_the_ID(), 'novablog_page_sub', true );
if($novablog_title == ""){ ?>
<h1><?php esc_attr(the_title()); ?></h1>
<?php
} else { ?>
<h1><?php echo esc_attr($novablog_title); ?></h1>
<?php
}
if($novablog_subtitle != ""){ ?>
<span class="title-desc"></span><h2><?php echo esc_attr($novablog_subtitle);?></h2>
<?php } ?>
</section>
<?php }else{ ?>
<section class="title-section">
<h1><?php esc_attr(the_title()); ?></h1>
</section>
<?php } ?>
</div>
</div></div>
</div>
<?php endif; ?>
<?php if (!has_post_thumbnail() ): ?>
<div class="content-holder clearfix">
<div class="container">
<div class="row">
<div class="col-md-12" id="content">
<section class="title-section">
<h1><?php esc_attr(the_title()); ?></h1>
</section>
</div></div></div>
</div>
<?php endif; ?>
<?php endwhile; ?>
<div class="content-holder clearfix">
<div class="container">
<div class="row">
<div class="col-md-12" id="content">
<?php get_template_part("loop/loop-page-wide-photo"); ?>
</div>
</div>
</div>
</div>
<footer class="footer">
<?php get_template_part('wrapper/wrapper-footer'); ?>
</footer>
<?php get_footer(); ?>