lightspeeddevelopment /
lsx-team
| 1 | <?php |
||
| 2 | /** |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 3 | * @package lsx-team |
||
| 4 | */ |
||
|
0 ignored issues
–
show
|
|||
| 5 | ?> |
||
| 6 | |||
| 7 | <?php if ( ! empty( team_get_option( 'team_careers_cta_enable' ) ) ) : ?> |
||
|
0 ignored issues
–
show
|
|||
| 8 | <?php |
||
| 9 | $thumbnail = '<img loading="lazy" class="img-responsive wp-post-image" src="https://www.gravatar.com/avatar/none?d=mm&s=170" width="170" />'; |
||
| 10 | $title = team_get_option( 'team_careers_cta_title' ); |
||
| 11 | $tagline = team_get_option( 'team_careers_cta_tagline' ); |
||
| 12 | $link_text = team_get_option( 'team_careers_cta_link_text' ); |
||
| 13 | $link = team_get_option( 'team_careers_cta_link' ); |
||
| 14 | ?> |
||
| 15 | |||
| 16 | <div class="col-xs-12 col-sm-6 col-md-3"> |
||
| 17 | <article class="lsx-team-slot"> |
||
| 18 | <figure class="lsx-team-avatar"> |
||
| 19 | <a href="<?php echo esc_attr( $link ); ?>"><?php echo wp_kses_post( $thumbnail ); ?></a> |
||
| 20 | </figure> |
||
| 21 | |||
| 22 | <h5 class="lsx-team-name"> |
||
| 23 | <a href="<?php echo esc_attr( $link ); ?>"><?php echo esc_html( $title ); ?></a> |
||
| 24 | </h5> |
||
| 25 | |||
| 26 | <?php if ( ! empty( $tagline ) ) : ?> |
||
|
0 ignored issues
–
show
|
|||
| 27 | <small class="lsx-team-job-title"><?php echo esc_html( $tagline ); ?></small> |
||
| 28 | <?php endif; ?> |
||
| 29 | |||
| 30 | <a href="<?php echo esc_attr( $link ); ?>" class="lsx-team-show-more"><?php echo esc_html( $link_text ); ?> <i class="fa fa-long-arrow-right"></i></a> |
||
| 31 | </article> |
||
| 32 | </div> |
||
| 33 | <?php endif; ?> |
||
| 34 |