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/read-more/author.php
<?php
/**
 * The template for displaying archive pages.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Acme Themes
 * @subpackage Read More
 */
get_header();
global $read_more_customizer_all_values;
$read_more_author_options = $read_more_customizer_all_values['read-more-author-options'];
$read_more_blog_archive_layout = $read_more_customizer_all_values['read-more-blog-archive-layout'];
$read_more_content_part = get_post_format();
if( 'full-image' == $read_more_blog_archive_layout ) {
    $read_more_content_part = 'full';
}
?>
    <div id="content" class="site-content container clearfix">
	    <?php
	    $sidebar_layout = read_more_sidebar_selection(get_the_ID());
	    if( 'both-sidebar' == $sidebar_layout ) {
		    echo '<div id="primary-wrap" class="clearfix">';
	    }
	    ?>
        <div id="primary" class="content-area">
            <main id="main" class="site-main" role="main">
                <div class="wrapper inner-main-title">
                    <?php
                    if( 'advanced' == $read_more_author_options ){
                        get_template_part( 'template-parts/content', 'author' );
                    }
                    else{
                        ?>
                        <header class="entry-header">
                            <?php
                            the_archive_title( '<h1 class="page-title">', '</h1>' );
                            ?>
                        </header><!-- .page-header -->
                        <?php
                    }
                    if( 1 == $read_more_customizer_all_values['read-more-show-breadcrumb'] ){
                        read_more_breadcrumbs();
                    }
                    ?>
                </div>
                <?php
                if ( have_posts() ) :
                    /* Start the Loop */
                    while ( have_posts() ) : the_post();

                        /*
                         * Include the Post-Format-specific template for the content.
                         * If you want to override this in a child theme, then include a file
                         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
                         */
                        get_template_part( 'template-parts/content', $read_more_content_part );

                    endwhile;

	                /**
	                 * read_more_action_navigation hook
	                 * @since Read More 1.0.0
	                 *
	                 * @hooked: read_more_posts_navigation - 10
	                 *
	                 */
	                do_action( 'read_more_action_navigation' );

                else :

                    get_template_part( 'template-parts/content', 'none' );

                endif; ?>
            </main><!-- #main -->
        </div><!-- #primary -->
        <?php 
        get_sidebar( 'left' );
        get_sidebar();
        if( 'both-sidebar' == $sidebar_layout ) {
	        echo '</div>';
        }
        ?>
</div><!-- #content -->
<?php get_footer();