PHP Classes

File: author.php

Recommend this page to a friend!
  Classes of Joko Prasetyo   kciaotime WordPress Theme   author.php   Download  
File: author.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: kciaotime WordPress Theme
WordPress theme to customize different page parts
Author: By
Last change:
Date: 1 year ago
Size: 1,344 bytes
 

Contents

Class file image Download
<?php get_header(); ?>

    <div id="main">
   
        <?php
        $img_slide
= of_get_option( 'kciao_display_slider', 'none' );
        if (
of_get_option( 'kciao_homepage_layout' ) == 1 && ( $img_slide['author'] ) ) :
       
get_template_part( 'post', 'slider' );
        endif;
        if (
of_get_option( 'kciao_homepage_layout' ) == 2 && ( $img_slide['author'] ) ) :
       
get_template_part( 'post', 'slider' );
        endif;
?>

        <div id="content">
       
            <?php
           
if ( of_get_option( 'kciao_homepage_layout' ) == 3 && ( $img_slide['author'] ) ) :
          
get_template_part( 'post', 'slider' );
           endif;
?>

            <h2 class="page-title"><?php printf( __( 'Author Archives: <span>%s</span>', 'kciao' ), get_the_author() ); ?></h2>
       
            <?php
               
if (have_posts()) : while (have_posts()) : the_post();

                    
                   
get_template_part('post');
                endwhile;
               
                else :
                   
get_template_part('post', 'noresults');
                endif;
               
               
get_template_part('navigation');
           
?>

        </div><!-- #content -->
   
        <?php get_sidebar(); ?>

    </div><!-- #main -->
   
<?php get_footer(); ?>