lightspeeddevelopment /
to-team
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Team Content Part |
||
| 4 | * |
||
| 5 | * @package tour-operator |
||
| 6 | * @category team |
||
| 7 | */ |
||
| 8 | |||
| 9 | global $lsx_to_archive, $post; |
||
| 10 | |||
| 11 | if ( 1 !== $lsx_to_archive ) { |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 12 | $lsx_to_archive = false; |
||
| 13 | } |
||
| 14 | ?> |
||
| 15 | |||
| 16 | <?php lsx_entry_before(); ?> |
||
| 17 | |||
| 18 | <article id="team-<?php echo esc_attr( $post->post_name ); ?>" <?php post_class( 'lsx-to-archive-container' ); ?>> |
||
| 19 | <?php lsx_entry_top(); ?> |
||
| 20 | |||
| 21 | <?php if ( is_single() && false === $lsx_to_archive ) { ?> |
||
|
0 ignored issues
–
show
|
|||
| 22 | |||
| 23 | <div <?php lsx_to_entry_class( 'entry-content' ); ?>> |
||
| 24 | <div class="lsx-to-section-inner"> |
||
| 25 | <h2 class="lsx-to-team-name"><?php the_title(); ?></h2> |
||
| 26 | <?php lsx_to_team_role( '<h5 class="lsx-to-team-job-title">', '</h5>' ); ?> |
||
| 27 | |||
| 28 | <div class="lsx-to-team-content"><?php the_content(); ?></div> |
||
| 29 | |||
| 30 | <ul class="lsx-to-team-contact list-inline"> |
||
| 31 | <?php |
||
| 32 | lsx_to_team_contact_number( '<li><i class="fa fa-phone orange"></i> ', '</li>' ); |
||
| 33 | lsx_to_team_contact_email( '<li><i class="fa fa-envelope orange"></i> ', '</li>' ); |
||
| 34 | lsx_to_team_contact_skype( '<li><i class="fa fa-skype orange"></i> ', '</li>' ); |
||
| 35 | ?> |
||
| 36 | </ul> |
||
| 37 | </div> |
||
| 38 | </div> |
||
| 39 | |||
| 40 | <?php } elseif ( is_search() || empty( tour_operator()->options[ get_post_type() ]['disable_entry_text'] ) ) { ?> |
||
|
0 ignored issues
–
show
|
|||
| 41 | |||
| 42 | <div <?php lsx_to_entry_class( 'entry-content' ); ?>> |
||
| 43 | <?php |
||
| 44 | lsx_to_entry_content_top(); |
||
| 45 | the_excerpt(); |
||
| 46 | lsx_to_entry_content_bottom(); |
||
| 47 | ?> |
||
| 48 | </div> |
||
| 49 | |||
| 50 | <?php } ?> |
||
| 51 | |||
| 52 | <?php lsx_entry_bottom(); ?> |
||
| 53 | |||
| 54 | </article> |
||
| 55 | |||
| 56 | <?php lsx_entry_after(); |
||
|
0 ignored issues
–
show
|
|||
| 57 |