profil77

Untitled

Apr 22nd, 2015
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <?php
  2. global $avia_config;
  3.  
  4. echo avia_title(array('title' => avia_which_archive()));
  5. ?>
  6.  
  7. <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
  8.  
  9. <div class='container'>
  10.  
  11. <main class='template-page template-portfolio content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'portfolio'));?>>
  12.  
  13. <div class="entry-content-wrapper clearfix">
  14.  
  15. <div class="category-term-description">
  16. <?php echo term_description(); ?>
  17. </div>
  18.  
  19. <?php
  20.  
  21. $grid = new avia_post_grid(array( 'linking' => 'ajax',
  22. 'columns' => '3',
  23. 'contents' => 'excerpt',
  24. 'sort' => 'no',
  25. 'paginate' => 'yes',
  26. 'set_breadcrumb' => false,
  27. ));
  28. $grid->use_global_query();
  29. echo $grid->html();
  30.  
  31. ?>
  32. </div>
  33.  
  34. <!--end content-->
  35. </main>
  36. <?php
  37.  
  38. //get the sidebar
  39. $avia_config['currently_viewing'] = 'portfolio';
  40. get_sidebar();
  41.  
  42. ?>
  43.  
  44. </div><!--end container-->
  45.  
  46. </div><!-- close default .container_wrap element -->
Advertisement
Add Comment
Please, Sign In to add comment