|
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/themes/twentytwentyone/../flexblog/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
get_header();
// Get Data
$general_options = get_option( 'infinity_general' );
$content_options = get_option( 'infinity_content' );
$current_layout = substr( $general_options['author_layout'], 0, 4 );
$sidebar_position = substr( $general_options['author_layout'], 5, 8 );
?>
<div class="main-container-wrap"
data-current-layout ="<?php echo esc_attr( $current_layout ); ?>"
data-sidebar ="<?php echo esc_attr( $sidebar_position ); ?>" >
<div class="main-container-outer <?php echo ( ( $content_options['boxed'] )? 'center-width': '' ); ?>">
<div class="main-container-inner">
<?php
// Get Left Sidebar
if ( $sidebar_position === 'lsidebar' ) {
get_sidebar();
} ?>
<div class="main-container">
<?php
// Page Loop - Display Posts
infinity_loop($current_layout);
?>
</div>
<?php
// Get Right Sidebar
if ( $sidebar_position === 'rsidebar' ) {
get_sidebar();
} ?>
<div class="clear"></div>
</div>
<?php
// Get Pagination
if ( $content_options['sticky_sidebar'] ) {
infinity_pagination();
} ?>
</div>
</div>
<?php get_footer(); ?>