| Server IP : 51.91.236.255 / Your IP : 216.73.217.120 Web Server : Apache System : Linux webm002.cluster129.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 : laureet ( 1012854) PHP Version : 8.0.30 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/laureet/www/wp-content/themes/rhye/ |
Upload File : |
<?php
$is_elementor_page = arts_is_built_with_elementor();
$masthead_template = '';
$post_type = get_post_type();
$portfolio_nav_enabled = get_theme_mod( 'portfolio_nav_enabled', true );
$portfolio_nav_style = get_theme_mod( 'portfolio_nav_style', 'portfolio-auto-scroll' );
$portfolio_nav_post_types = get_theme_mod( 'portfolio_nav_post_types', array( 'arts_portfolio_item' ) );
$has_bottom_navigation = $is_elementor_page && $portfolio_nav_enabled && in_array( $post_type, $portfolio_nav_post_types );
if ( $is_elementor_page ) {
$masthead_template = 'elementor-' . arts_get_document_option( 'page_masthead_layout' );
}
get_header();
/**
* Page Masthead
*/
get_template_part( 'template-parts/masthead/masthead', esc_attr( $masthead_template ) );
the_post();
?>
<?php if ( ! $is_elementor_page ) : ?>
<section class="section py-medium section-blog">
<div class="container">
<div class="row justify-content-center">
<div class="col">
<div class="post">
<div class="post__content clearfix">
<?php the_content(); ?>
</div>
</div>
</div>
</div>
</div>
</section>
<?php else : ?>
<?php the_content(); ?>
<?php endif; ?>
<?php
/**
* Page Bottom Navigation
*/
if ( $has_bottom_navigation ) {
get_template_part( 'template-parts/nav/nav', esc_attr( $portfolio_nav_style ) );
}
get_footer();