Current Path : /storage/v11800/acejewellery/public_html/wp-content/themes/lindo/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/acejewellery/public_html/wp-content/themes/lindo/page.php |
<?php
/**
* The template for displaying pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that
* other "pages" on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Lindo
* @since Lindo 1.0
*/
/*
*Template Name: Page Default
*/
get_header();
$sidebar_configs = lindo_get_page_layout_configs();
lindo_render_breadcrumbs();
?>
<section id="main-container" class="<?php echo apply_filters('lindo_page_content_class', 'container');?> inner">
<?php if ( isset($sidebar_configs['left']) || isset($sidebar_configs['right']) ) : ?>
<a href="javascript:void(0)" class="mobile-sidebar-btn hidden-lg hidden-md"> <i class="fa fa-bars"></i> <?php echo esc_html__('Show Sidebar', 'lindo'); ?></a>
<div class="mobile-sidebar-panel-overlay"></div>
<?php endif; ?>
<div class="row">
<?php if ( isset($sidebar_configs['left']) ) : ?>
<div class="<?php echo esc_attr($sidebar_configs['left']['class']) ;?>">
<aside class="sidebar sidebar-left" itemscope="itemscope" itemtype="http://schema.org/WPSideBar">
<?php if ( is_active_sidebar( $sidebar_configs['left']['sidebar'] ) ): ?>
<?php dynamic_sidebar( $sidebar_configs['left']['sidebar'] ); ?>
<?php endif; ?>
</aside>
</div>
<?php endif; ?>
<div id="main-content" class="main-page <?php echo esc_attr($sidebar_configs['main']['class']); ?>">
<div id="main" class="site-main clearfix" role="main">
<?php
// Start the loop.
while ( have_posts() ) : the_post();
// Include the page content template.
the_content();
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
// End the loop.
endwhile;
?>
</div><!-- .site-main -->
<?php
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'lindo' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'lindo' ) . ' </span>%',
'separator' => '',
) );
?>
</div><!-- .content-area -->
<?php if ( isset($sidebar_configs['right']) ) : ?>
<div class="<?php echo esc_attr($sidebar_configs['right']['class']) ;?>">
<aside class="sidebar sidebar-right" itemscope="itemscope" itemtype="http://schema.org/WPSideBar">
<?php if ( is_active_sidebar( $sidebar_configs['right']['sidebar'] ) ): ?>
<?php dynamic_sidebar( $sidebar_configs['right']['sidebar'] ); ?>
<?php endif; ?>
</aside>
</div>
<?php endif; ?>
</div>
</section>
<?php get_footer(); ?>