| @@ 22-34 (lines=13) @@ | ||
| 19 | $format = lsx_translate_format_to_fontawesome($format); |
|
| 20 | ?> |
|
| 21 | ||
| 22 | <?php if ( ! is_single() ) { ?> |
|
| 23 | <header class="entry-header"> |
|
| 24 | <h1 class="entry-title"> |
|
| 25 | <?php if ( has_post_thumbnail() ) { ?> |
|
| 26 | <a href="<?php echo esc_url($format_link) ?>" class="format-link has-thumb fa fa-<?php echo esc_attr( $format ) ?>"></a> |
|
| 27 | <?php } else { ?> |
|
| 28 | <a href="<?php echo esc_url($format_link) ?>" class="format-link fa fa-<?php echo esc_attr( $format ) ?>"></a> |
|
| 29 | <?php } ?> |
|
| 30 | ||
| 31 | <span><?php the_title(); ?></span> |
|
| 32 | </h1> |
|
| 33 | </header><!-- .entry-header --> |
|
| 34 | <?php } ?> |
|
| 35 | ||
| 36 | <div class="entry-meta"> |
|
| 37 | <?php lsx_post_meta(); ?> |
|
| @@ 22-34 (lines=13) @@ | ||
| 19 | $format = lsx_translate_format_to_fontawesome($format); |
|
| 20 | ?> |
|
| 21 | ||
| 22 | <?php if ( ! is_single() ) { ?> |
|
| 23 | <header class="entry-header"> |
|
| 24 | <h1 class="entry-title"> |
|
| 25 | <?php if ( has_post_thumbnail() ) { ?> |
|
| 26 | <a href="<?php echo esc_url($format_link) ?>" class="format-link has-thumb fa fa-<?php echo esc_attr( $format ) ?>"></a> |
|
| 27 | <?php } else { ?> |
|
| 28 | <a href="<?php echo esc_url($format_link) ?>" class="format-link fa fa-<?php echo esc_attr( $format ) ?>"></a> |
|
| 29 | <?php } ?> |
|
| 30 | ||
| 31 | <span><?php the_title(); ?></span> |
|
| 32 | </h1> |
|
| 33 | </header><!-- .entry-header --> |
|
| 34 | <?php } ?> |
|
| 35 | ||
| 36 | <div class="entry-meta"> |
|
| 37 | <?php lsx_post_meta(); ?> |
|