1 | <?php |
||
2 | /** |
||
3 | * Activity Single Template |
||
4 | * |
||
5 | * @package tour-operator |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
6 | * @category activity |
||
0 ignored issues
–
show
|
|||
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 while ( have_posts() ) : the_post(); ?> |
||
0 ignored issues
–
show
|
|||
22 | |||
23 | <section id="summary" class="lsx-to-section lsx-to-collapse-section"> |
||
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-activities' ); ?></h2> |
||
25 | |||
26 | <div id="collapse-summary" class="collapse in"> |
||
27 | <div class="collapse-inner"> |
||
28 | <div class="row"> |
||
29 | <?php lsx_to_content( 'content', 'activity' ); ?> |
||
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(); ?> |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
75% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
48 | <?php //get_sidebar( 'alt' ); ?> |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
58% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
49 | |||
50 | <?php get_footer(); |
||
0 ignored issues
–
show
|
|||
51 |