1 | <?php |
||
2 | /** |
||
3 | * Vehicle Archive |
||
4 | * |
||
5 | * @package lsx-tour-operators |
||
6 | * @category vehicle |
||
7 | */ |
||
8 | |||
9 | get_header(); ?> |
||
10 | |||
11 | <?php lsx_content_wrap_before(); ?> |
||
12 | |||
13 | <section id="primary" class="content-area <?php echo esc_html( 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-grid lsx-to-archive-template-image-max-height"> |
||
24 | <?php while ( have_posts() ) : the_post(); ?> |
||
0 ignored issues
–
show
|
|||
25 | <div class="lsx-to-archive-item col-xs-12 col-sm-6 col-md-4 <?php echo esc_attr( lsx_to_archive_class( 'lsx-to-archive-item' ) ); ?>"> |
||
26 | <?php lsx_vehicle_content( 'content', 'vehicle' ); ?> |
||
27 | </div> |
||
28 | <?php endwhile; ?> |
||
29 | </div> |
||
30 | <?php lsx_paging_nav(); ?> |
||
31 | |||
32 | <?php else : ?> |
||
0 ignored issues
–
show
|
|||
33 | |||
34 | <?php get_template_part( 'content', 'none' ); ?> |
||
35 | |||
36 | <?php endif; ?> |
||
37 | |||
38 | <div class="lsx-full-width vehicles-bottom text-center"> |
||
39 | <h2><?php esc_html_e( 'See our vehicles in action in our gallery', 'to-vehicles' ); ?></h2> |
||
40 | <a href="/vehicles/" class="btn border-btn"><?php esc_html_e( 'See Gallery', 'to-vehicles' ); ?></a> |
||
41 | </div> |
||
42 | |||
43 | <?php lsx_content_bottom(); ?> |
||
44 | |||
45 | </main><!-- #main --> |
||
46 | |||
47 | <?php lsx_content_after(); ?> |
||
48 | |||
49 | </section><!-- #primary --> |
||
50 | |||
51 | <?php lsx_content_wrap_after(); ?> |
||
52 | |||
53 | <?php get_sidebar(); ?> |
||
54 | |||
55 | <?php |
||
56 | get_footer(); |
||
57 |