|
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/guillaume/wp-content/envato-backups/../themes/flexblog/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php get_header(); ?>
<?php
// Get Data
$general_options = get_option( 'infinity_general' );
$content_options = get_option( 'infinity_content' );
$disable_sidebar = get_post_meta( get_the_ID(), 'hide-sidebar', true );
$sidebar_single_position = substr( $general_options['single_layout'], 5, 8 );
$sidebar_single_data = ($disable_sidebar)?'nsidebar':$sidebar_single_position;
?>
<div class="main-container-wrap" data-sidebar ="<?php echo esc_attr( $sidebar_single_position ); ?>" >
<div class="main-container-outer <?php echo ( ( $content_options['single_boxed'] )? 'center-width': '' ); ?>">
<div class="main-container-inner">
<?php
// Get left Sidebar
if ( $sidebar_single_position === 'lsidebar' && !$disable_sidebar ) {
get_sidebar();
}
?>
<div class="main-container" data-no-sidebar ="<?php echo esc_attr( $sidebar_single_data ); ?>" >
<?php
// Single Post
get_template_part( 'templates/single-post');
// Author Description
if ( is_single() && $content_options['post_author_description'] ) {
get_template_part('templates/author-description');
}
// Single Pagination
if ( $content_options['post_pagination'] ) {
get_template_part('templates/post-pagination');
}
// Related Post
if ( $content_options['similar_posts'] !== 'none' ) {
get_template_part('templates/similar-posts');
}
// Comment Area
if ( $content_options['post_comment_area'] ) {
echo '<div class="comments-area" id="comments">';
comments_template('', true);
echo '</div>';
} ?>
</div>
<?php
// Get Right Sidebar
if ( $sidebar_single_position === 'rsidebar' && !$disable_sidebar ) {
get_sidebar();
}
?>
<div class="clear"></div>
</div>
</div>
</div>
<?php get_footer(); ?>