mike7

Untitled

Aug 22nd, 2018
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <?php
  2. /**
  3. * The template for displaying search results pages.
  4. *
  5. * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
  6. *
  7. * @package Astra
  8. * @since 1.0.0
  9. */
  10.  
  11. get_header(); ?>
  12.  
  13. <?php if ( astra_page_layout() == 'left-sidebar' ) : ?>
  14.  
  15. <?php get_sidebar(); ?>
  16.  
  17. <?php endif ?>
  18.  
  19. <div id="primary" <?php astra_primary_class(); ?>>
  20.  
  21. <?php astra_primary_content_top(); ?>
  22.  
  23. <?php astra_archive_header(); ?>
  24.  
  25. <?php astra_content_loop(); ?>
  26.  
  27. <?php astra_pagination(); ?>
  28.  
  29. <?php astra_primary_content_bottom(); ?>
  30.  
  31. </div><!-- #primary -->
  32.  
  33. <?php if ( astra_page_layout() == 'right-sidebar' ) : ?>
  34.  
  35. <?php get_sidebar(); ?>
  36.  
  37. <?php endif ?>
  38.  
  39. <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment