HEX
Server: Apache/2.4.6 (CentOS) PHP/5.6.39
System: Linux izj6c6ukj0hyugxsgmuxz3z 3.10.0-514.6.2.el7.x86_64 #1 SMP Thu Feb 23 03:04:39 UTC 2017 x86_64
User: root (0)
PHP: 5.6.39
Disabled: NONE
Upload Files
File: /web/data/blog.tbbbearing.com/wp-content/themes/book-rev-lite/index.php
<?php get_header(); ?>



<section id="main-content" class="clearfix">



    <section id="main-content-inner" class="container">

<?php // Display the sidebar on the left side if set.

        if(get_theme_mod("mp_layout_type") == "sidebarleft") get_sidebar(); ?>



    <?php if(have_posts()): ?>

        <?php if(is_search()) : ?>

            <div class="search-results-header">

                <h3><?php printf(__("Search results for: %s", "book-rev-lite"), "<span>" . get_search_query() . "</span>"); ?></h3>

            </div><!-- end .search-results-header -->

        <?php endif; ?>



    <div class="article-container">

        <?php while(have_posts()) : the_post(); ?>

            <?php get_template_part("templates/bookrev_loop_article_template"); ?>

        <?php endwhile;

        the_posts_pagination( array(
            'prev_text'          => __( '&#171;', 'book-rev-lite' ),
            'next_text'          => __( '&#187;', 'book-rev-lite' ),
            'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'book-rev-lite' ) . ' </span>',
        ) ); ?>

    </div><!-- end .article-list -->



<?php else: ?>

    <?php if(is_search()) : ?>

        <div class="search-results-header">

            <h3> <?php printf(__("There are no search results for: %s", "book-rev-lite"), "<span>" . get_search_query() . "</span>"); ?></h3>

        </div><!-- end .search-results-header -->

    <?php endif; ?>

<?php endif; ?>



    <?php

        // Display the sidebar on the right side if set.

        if(get_theme_mod("mp_layout_type","sidebarright") == "sidebarright") get_sidebar();

    ?>



    </section><!-- end .main-content-inner -->

</section><!-- end #main-content -->

<?php get_footer(); ?>