1 | <?php |
||
2 | /** |
||
3 | * Activity Archive |
||
4 | * |
||
5 | * @package tour-operator |
||
6 | * @category activity |
||
7 | */ |
||
8 | |||
9 | get_header(); ?> |
||
10 | |||
11 | <?php lsx_content_wrap_before(); ?> |
||
12 | |||
13 | <div id="primary" class="content-area col-sm-12 <?php echo esc_attr( lsx_main_class() ); ?>"> |
||
14 | |||
15 | <?php lsx_content_before(); ?> |
||
16 | |||
17 | <main id="main" class="site-main" role="main"> |
||
18 | |||
19 | <?php lsx_content_top(); ?> |
||
20 | |||
21 | <?php if ( have_posts() ) : ?> |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
22 | |||
23 | <div class="row lsx-to-archive-items lsx-to-archive-template-<?php echo esc_attr( tour_operator()->archive_layout ); ?> lsx-to-archive-template-image-<?php echo esc_attr( tour_operator()->archive_list_layout_image_style ); ?>"> |
||
24 | |||
25 | <?php while ( have_posts() ) : the_post(); ?> |
||
0 ignored issues
–
show
|
|||
26 | |||
27 | <div class="<?php echo esc_attr( lsx_to_archive_class( 'lsx-to-archive-item' ) ); ?>"> |
||
28 | <?php lsx_to_activity_content( 'content', 'activity' ); ?> |
||
29 | </div> |
||
30 | |||
31 | <?php endwhile; ?> |
||
32 | |||
33 | </div> |
||
34 | |||
35 | <?php else : ?> |
||
0 ignored issues
–
show
|
|||
36 | |||
37 | <?php get_template_part( 'partials/content', 'none' ); ?> |
||
38 | |||
39 | <?php endif; ?> |
||
40 | |||
41 | <?php lsx_content_bottom(); ?> |
||
42 | |||
43 | </main><!-- #main --> |
||
44 | |||
45 | <?php lsx_content_after(); ?> |
||
46 | |||
47 | </div><!-- #primary --> |
||
48 | |||
49 | <?php lsx_content_wrap_after(); ?> |
||
50 | |||
51 | <?php //get_sidebar(); ?> |
||
0 ignored issues
–
show
|
|||
52 | |||
53 | <?php get_footer(); |
||
0 ignored issues
–
show
|
|||
54 |