Advertisement
Guest User

archive.php

a guest
Jan 30th, 2014
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.23 KB | None | 0 0
  1. <?php
  2.     global $avia_config, $more;
  3.  
  4.     /*
  5.      * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
  6.      */
  7.      get_header();
  8.        
  9.     ?>
  10.  
  11.  
  12.         <!-- ####### MAIN CONTAINER ####### -->
  13.         <div class='container_wrap <?php echo $avia_config['layout']; ?>' id='main'>
  14.        
  15.             <div class='container template-blog '> 
  16.                
  17.                 <?php echo avia_title(avia_which_archive()); ?>
  18.                 <?php if(!is_tag()) { ?>
  19.                 <div class='content <?php echo $avia_config['content_class']; ?> units'>
  20.                 <?php } else { ?>
  21.                 <div class='content twelve units'>
  22.                 <?php } ?>
  23.                 <?php
  24.                
  25.                 /* Run the loop to output the posts.
  26.                 * If you want to overload this in a child theme then include a file
  27.                 * called loop-index.php and that will be used instead.
  28.                 */
  29.                
  30.                
  31.                 $more = 0;
  32.                 get_template_part( 'includes/loop', 'index' );
  33.                 ?>
  34.                
  35.                
  36.                 <!--end content-->
  37.                 </div>
  38.                
  39.                 <?php
  40.                
  41.                 if(!is_tag()) {
  42.                 //get the sidebar
  43.                 $avia_config['currently_viewing'] = 'blog';
  44.                 get_sidebar();
  45.                 }
  46.                
  47.                 ?>
  48.                
  49.             </div><!--end container-->
  50.  
  51.     </div>
  52.     <!-- ####### END MAIN CONTAINER ####### -->
  53.  
  54.  
  55. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement