|
8 | 8 | */ |
9 | 9 |
|
10 | 10 | ?> |
11 | | -<?php $content_size = ( 'post' !== get_post_type() && !is_search() ) ? 'three-column' : 'two-column'; ?> |
| 11 | +<?php $content_size = ( 'post' !== get_post_type() && ! is_search() ) ? 'three-column' : 'two-column'; ?> |
12 | 12 | <article id="post-<?php the_ID(); ?>" <?php post_class( 'archive wp-block-column ' . $content_size ); ?>> |
13 | 13 | <?php get_template_part( 'template-parts/featured-image', 'cropped' ); ?> |
14 | 14 | <section class="post--summary osi-list--post-content"> |
|
20 | 20 | </header><!-- .entry-header --> |
21 | 21 |
|
22 | 22 | <div class="entry-content post--summary"> |
23 | | - <p class="member-details"> |
| 23 | + <p class="member-details"> |
24 | 24 | <?php if ( osi_field_check( 'pronouns' ) ) : ?> |
25 | 25 | <span class="member-pronouns"> |
26 | 26 | <?php osi_the_valid_field( 'pronouns' ); ?> |
|
33 | 33 | </span> |
34 | 34 | <?php endif; ?> |
35 | 35 | </p> |
36 | | - <?php if( osi_field_check( 'current_term_start_date' ) ) : ?> |
| 36 | + <?php if ( osi_field_check( 'current_term_start_date' ) ) : ?> |
37 | 37 | <p class="member-dates"> |
38 | | - <?php |
39 | | - echo __( 'Current Term:', 'osi' ) . ' '; |
| 38 | + <?php |
| 39 | + echo esc_html__( 'Current Term:', 'osi' ) . ' '; |
40 | 40 | osi_the_valid_date_field( 'current_term_start_date', 'M Y' ); |
41 | | - if( osi_field_check( 'current_term_end_date' ) ) : |
42 | | - echo ' ' . __( 'to', 'osi' ) . ' '; |
| 41 | + if ( osi_field_check( 'current_term_end_date' ) ) : |
| 42 | + echo ' ' . esc_html__( 'to', 'osi' ) . ' '; |
43 | 43 | osi_the_valid_date_field( 'current_term_end_date', 'M Y' ); |
44 | 44 | endif; |
45 | 45 | ?> |
|
0 commit comments