Advertisement
Guest User

Untitled

a guest
Nov 20th, 2020
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.32 KB | None | 0 0
  1. <?php
  2.     if ( !defined('ABSPATH') ){ die(); }
  3.    
  4.     global $avia_config;
  5.  
  6.     /*
  7.      * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
  8.      */
  9.      get_header();
  10.  
  11.  
  12.      echo avia_title(array('title' => avia_which_archive()));
  13.      
  14.      do_action( 'ava_after_main_title' );
  15.      ?>
  16.  
  17.         <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
  18.  
  19.                         <div class="category-term-description">
  20.                             <?php echo term_description(); ?>
  21.                         </div>
  22.  
  23.                     <?php
  24.  
  25.                     $grid = new avia_post_grid(array(   'linking'   => '',
  26.                                                         'columns'   => '3',
  27.                                                         'contents'  => 'title',
  28.                                                         'sort'      => 'no',
  29.                                                         'paginate'  => 'yes',
  30.                                                         'set_breadcrumb' => false,
  31.                                                 ));
  32.                     $grid->use_global_query();
  33.                     echo $grid->html();
  34.  
  35.                     ?>
  36.  
  37.         </div><!-- close default .container_wrap element -->
  38.  
  39.  
  40. <?php
  41.         get_footer();
  42.        
  43.        
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement