|
Server IP : 10.131.40.8 / Your IP : 216.73.216.15 Web Server : Apache System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : ludmqhh ( 137773) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/ludmqhh/www/provence-plomberie/../guillaume/wp-content/themes/flexblog/templates/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
get_header();
// Get Data
$carousel_options = get_option( 'infinity_carousel' );
$content_options = get_option( 'infinity_content' );
$sidebar_page_position = get_post_meta( get_the_ID(), 'sidebar-position', true );
$show_carousel = get_post_meta( get_the_ID(), 'show-carousel', true );
$carousel_style = 'none';
if ( $show_carousel ) {
$carousel_style = $carousel_options['style'];
}
// Carousel Default Style
if ( $carousel_style === 'boxed' || $carousel_style === 'default' ) {
infinity_carousel();
} ?>
<div class="main-container-wrap" data-sidebar ="<?php echo esc_attr( $sidebar_page_position ); ?>" >
<div class="main-container-outer <?php echo ( ( $content_options['boxed'] )? 'center-width': '' ); ?>">
<div class="main-container-inner">
<?php
// Carousel Inner Boxed Style
if ( $carousel_style === 'inner_boxed' ) {
infinity_carousel();
}
// Get left Sidebar
if ( $sidebar_page_position === 'lsidebar' ) {
get_sidebar();
} ?>
<div class="main-container" data-no-sidebar ="<?php echo esc_attr( $sidebar_page_position ); ?>" >
<?php
// Carousel Inner Content Style
if ( $carousel_style === 'inner_content' ) {
infinity_carousel();
}
infinity_info_area(); ?>
<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>
<article id="page-<?php the_ID(); ?>" >
<?php if( !get_post_meta( get_the_ID(), 'hide-feature-media', true ) && has_post_thumbnail() ) : ?>
<div class="entry-media">
<?php the_post_thumbnail('infinity-full-thumbnail'); ?>
</div>
<?php endif; ?>
<header class="entry-header">
<h2 class="post-title"><?php the_title(); ?></h2>
</header>
<div class="entry-content">
<?php the_content(); ?>
<div class="clear"></div>
</div>
<?php if ( !get_post_meta( get_the_ID(), 'hide-social', true ) ): ?>
<div class="entry-footer">
<?php infinity_sharing(); ?>
</div>
<?php endif; ?>
</article>
<!-- Comment area -->
<?php if ( $content_options['page_comment_area'] && ( comments_open() || get_comments_number() ) ): ?>
<div class="comments-area" id="comments">
<?php comments_template('', true); ?>
</div>
<?php endif; ?>
<?php endwhile; else : ?>
<h1><?php esc_html_e( 'no page where found','flexblog' ); ?></h1>
<?php endif; ?>
</div>
<?php
// Get Right Sidebar
if ( $sidebar_page_position === 'rsidebar' ) {
get_sidebar();
}
?>
<div class="clear"></div>
</div>
</div>
</div>
<?php get_footer(); ?>