chore: indenting
This commit is contained in:
parent
2f3ed12adf
commit
a9c17dbfc2
6 changed files with 72 additions and 75 deletions
|
@ -14,9 +14,9 @@
|
|||
<?php
|
||||
$subtitle = get_post_meta( get_the_ID(), 'Subtitle', true );
|
||||
if ( $subtitle ) :
|
||||
?>
|
||||
?>
|
||||
: <?php echo wp_kses_post( $subtitle ); ?>
|
||||
<?php
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
</a>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<a class="item" href="<?php echo esc_url( $post_link ); ?>"<?php echo ( $links_externally ) ? ' target="_blank" rel="noopener noreferrer"' : ''; ?>>
|
||||
<article id="post-<?php the_ID(); ?>" class="tile col-m-6 col-4 col-w-3" style="background-image: url('<?php the_post_thumbnail_url(); ?>');">
|
||||
<?php
|
||||
$title_length = strlen( get_the_title() );
|
||||
$title_length = strlen(get_the_title());
|
||||
if ( $title_length > 70 ) {
|
||||
$small = 'vsmall';
|
||||
} elseif ( $title_length > 35 ) {
|
||||
|
@ -51,9 +51,9 @@
|
|||
<?php
|
||||
$subtitle = get_post_meta( get_the_ID(), 'Subtitle', true );
|
||||
if ( $subtitle ) :
|
||||
?>
|
||||
?>
|
||||
<h2>
|
||||
<?php echo wp_kses_post( $subtitle ); ?>
|
||||
<?php echo wp_kses_post( $subtitle ); ?>
|
||||
</h2>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Reference in a new issue