1 | <?php |
||||
2 | /** |
||||
3 | * Vehicle Single Template |
||||
4 | * |
||||
5 | * @package tour-operator |
||||
0 ignored issues
–
show
introduced
by
![]() |
|||||
6 | * @category vehicle |
||||
0 ignored issues
–
show
|
|||||
7 | */ |
||||
8 | |||||
9 | get_header(); ?> |
||||
10 | |||||
11 | <?php lsx_content_wrap_before(); ?> |
||||
12 | |||||
13 | <div id="primary" class="content-area <?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 while ( have_posts() ) : the_post(); ?> |
||||
0 ignored issues
–
show
|
|||||
22 | |||||
23 | <section id="summary" class="lsx-to-section <?php lsx_to_collapsible_class( 'vehicle', false ); ?>"> |
||||
0 ignored issues
–
show
'vehicle' of type string is incompatible with the type boolean expected by parameter $post_type of lsx_to_collapsible_class() .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
24 | <h2 class="lsx-to-section-title lsx-to-collapse-title lsx-title hidden-lg" data-toggle="collapse" data-target="#collapse-summary"><?php esc_html_e( 'Summary', 'lsx-vehicles' ); ?></h2> |
||||
25 | |||||
26 | <div id="collapse-summary" class="collapse in"> |
||||
27 | <div class="collapse-inner"> |
||||
28 | <div class="row"> |
||||
29 | <?php lsx_vehicle_content( 'content', 'vehicle' ); ?> |
||||
30 | </div> |
||||
31 | </div> |
||||
32 | </div> |
||||
33 | </section> |
||||
34 | |||||
35 | <?php endwhile; ?> |
||||
36 | |||||
37 | <?php lsx_content_bottom(); ?> |
||||
38 | |||||
39 | </main><!-- #main --> |
||||
40 | |||||
41 | <?php lsx_content_after(); ?> |
||||
42 | |||||
43 | </div><!-- #primary --> |
||||
44 | |||||
45 | <?php lsx_content_wrap_after(); ?> |
||||
46 | |||||
47 | <?php get_sidebar(); ?> |
||||
48 | <?php get_sidebar( 'alt' ); ?> |
||||
49 | |||||
50 | <?php get_footer(); |
||||
0 ignored issues
–
show
|
|||||
51 |