1 | <?php |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
2 | /** |
||
3 | * The template for displaying all single team members. |
||
4 | * |
||
5 | * @package lsx-team |
||
6 | */ |
||
7 | |||
8 | get_header(); ?> |
||
9 | |||
10 | <?php lsx_content_wrap_before(); ?> |
||
11 | |||
12 | <div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>"> |
||
13 | |||
14 | <?php lsx_content_before(); ?> |
||
15 | |||
16 | <main id="main" class="site-main"> |
||
17 | |||
18 | <?php lsx_content_top(); ?> |
||
19 | |||
20 | <?php if ( have_posts() ) : ?> |
||
0 ignored issues
–
show
|
|||
21 | |||
22 | <div class="lsx-team-container"> |
||
23 | <div class="row row-flex"> |
||
24 | |||
25 | <?php |
||
26 | while ( have_posts() ) { |
||
0 ignored issues
–
show
|
|||
27 | the_post(); |
||
28 | include( LSX_TEAM_PATH . '/templates/content-archive-team.php' ); |
||
0 ignored issues
–
show
|
|||
29 | } |
||
30 | |||
31 | include( LSX_TEAM_PATH . '/templates/content-archive-team-careers-cta.php' ); |
||
0 ignored issues
–
show
|
|||
32 | ?> |
||
33 | |||
34 | </div> |
||
35 | </div> |
||
36 | |||
37 | <?php lsx_paging_nav(); ?> |
||
38 | |||
39 | <?php else : ?> |
||
0 ignored issues
–
show
|
|||
40 | |||
41 | <?php get_template_part( 'partials/content', 'none' ); ?> |
||
42 | |||
43 | <?php endif; ?> |
||
44 | |||
45 | <?php lsx_content_bottom(); ?> |
||
46 | |||
47 | </main><!-- #main --> |
||
48 | |||
49 | <?php lsx_content_after(); ?> |
||
50 | |||
51 | </div><!-- #primary --> |
||
52 | |||
53 | <?php lsx_content_wrap_after(); ?> |
||
54 | |||
55 | <?php get_sidebar(); ?> |
||
56 | |||
57 | <?php get_footer(); |
||
0 ignored issues
–
show
|
|||
58 |