Advertisement
Guest User

template-login.php

a guest
Dec 18th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.16 KB | None | 0 0
  1. <?php
  2. global $avia_config;
  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.      if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title();
  11.      ?>
  12.  
  13.         <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
  14.  
  15.             <div class='container'>
  16.  
  17.                 <main class='template-page content twelve units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
  18.  
  19.                     <?php
  20.                     /* Run the loop to output the posts.
  21.                     * If you want to overload this in a child theme then include a file
  22.                     * called loop-page.php and that will be used instead.
  23.                     */
  24.  
  25.                     $avia_config['size'] = avia_layout_class( 'main' , false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar';
  26.                     get_template_part( 'includes/loop', 'page' );
  27.                     ?>
  28.  
  29.                 <!--end content-->
  30.                 </main>
  31.  
  32.             </div><!--end container-->
  33.  
  34.         </div><!-- close default .container_wrap element -->
  35.  
  36.  
  37.  
  38. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement