File "page.php"
Full Path: /home/arielcor/public_html/wp-content/themes/pisces/page.php
File size: 2.65 KB
MIME-type: text/x-php
Charset: utf-8
<?php get_header(); ?>
<?php do_action( 'pisces/action/before_render_main' ); ?>
<div id="main" class="site-main">
<div class="container">
<div class="row">
<main id="site-content" class="<?php echo esc_attr(Pisces()->layout->get_main_content_css_class('col-xs-12 site-content'))?>">
<div class="site-content-inner">
<?php do_action( 'pisces/action/before_render_main_inner' );?>
<div class="page-content">
<?php
do_action( 'pisces/action/before_render_main_content' );
if( have_posts() ): the_post();
$enable_fp = Pisces()->settings->get_post_meta(get_the_ID(), 'enable_fp');
if(Pisces()->layout->get_site_layout() == 'col-1c' && ($enable_fp == 'yes' || $enable_fp == 'on')){
$fp_section_effect = Pisces()->settings->get_post_meta(get_the_ID(), 'fp_section_effect');
echo '<div id="la_full_page" data-fp-animation="'.esc_attr($fp_section_effect).'">';
}
else{
echo '<div class="not-active-fullpage">';
}
the_content();
echo '</div>';
wp_link_pages(
array(
'before' => '<div class="page-links"><span class="page-links-title">' . esc_html_x( 'Pages:','front-view', 'pisces' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>'
)
);
if ( comments_open() || get_comments_number() ) :
echo '<div class="clearfix"></div><div class="single-post-detail padding-top-30">';
comments_template();
echo '</div>';
endif;
endif;
do_action( 'pisces/action/after_render_main_content' );
?>
</div>
<?php do_action( 'pisces/action/after_render_main_inner' );?>
</div>
</main>
<!-- #site-content -->
<?php get_sidebar();?>
</div>
</div>
</div>
<!-- .site-main -->
<?php do_action( 'pisces/action/after_render_main' ); ?>
<?php get_footer();?>