> - ', '' ); ?> + hide homepage title checkbox is unchecked ) */ + if( ( is_home() || is_front_page() ) && ! empty( $masonry_options['hide_homepage_title'] ) ) { + $class .= ' hidden'; + } + + the_title( '', '' ); + ?> diff --git a/content-search.php b/content-search.php index 6061152..e61cdc6 100644 --- a/content-search.php +++ b/content-search.php @@ -14,7 +14,13 @@ - + diff --git a/content-single.php b/content-single.php index 65d043c..a402753 100644 --- a/content-single.php +++ b/content-single.php @@ -3,35 +3,41 @@ * @package Masonry */ ?> - + > - + + + + + + + ', '' ); ?> - + - - - - - - '' . __( 'Pages:', 'masonry' ), - 'after' => '', + wp_link_pages( array( + 'before' => '' . __( 'Pages:', 'masonry' ), + 'after' => '', ) ); - ?> - + ?> + - + ', '' ); ?> +
> - + + + + + + + ', '' ); ?> - + - - - - - - '' . __( 'Pages:', 'masonry' ), - 'after' => '', + wp_link_pages( array( + 'before' => '' . __( 'Pages:', 'masonry' ), + 'after' => '', ) ); - ?> - + ?> +
> - - - - ', '' ,false); - if(strlen($title) > 60): - echo trim(substr($title, 0, 100)).'...'; + + + + + + + + + 50): + echo trim(substr($title, 0, 50)).'...'; else: echo $title; endif; - ?> - - - - - - - - ', esc_url( get_permalink() ) ), '' ); ?> - - - - - - - + ?> + + + + + ', esc_url( get_permalink() ) ), '' ); ?> - + + →', 'masonry' ) ); + if( ! empty( $masonry_options['last_updated_on'] ) ){ + masonry_last_updated_on(); + } else{ + masonry_posted_on(); } ?> - + + + + + →', 'masonry' ) ); + } + ?> + '' . __( 'Pages:', 'masonry' ), 'after' => '', - ) ); - ?> - + ) ); + ?> + -