File "index.php"

Full Path: /home/arielcor/public_html/wp-content/themes/pisces/index.php
File size: 1.6 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 id="blog_content_container" class="main--loop-container"><?php

                        do_action( 'pisces/action/before_render_main_content' );

                        if(have_posts()):

                            get_template_part('templates/blog/start');

                            while(have_posts()):

                                the_post();

                                get_template_part('templates/blog/loop');

                            endwhile;

                            get_template_part('templates/blog/end');

                        endif;

                        /**
                         * Display pagination and reset loop
                         */

                        pisces_the_pagination();

                        wp_reset_postdata();

                        do_action( 'pisces/action/after_render_main_content' ); ?>

                    </div>

                    <?php do_action( 'pisces/action/after_render_main_inner' ); ?>
                </div>
            </main>
            <?php get_sidebar();?>
        </div>
    </div>
</div>
<?php do_action( 'pisces/action/after_render_main' ); ?>
<?php get_footer();?>