@@ -62,8 +62,10 @@ |
||
62 | 62 | |
63 | 63 | $tax_links = join( " ", str_replace(' ', '-', $links)); |
64 | 64 | $tax = strtolower($tax_links); |
65 | - else : |
|
66 | - $tax = ''; |
|
65 | + else { |
|
66 | + : |
|
67 | + $tax = ''; |
|
68 | + } |
|
67 | 69 | endif; ?> |
68 | 70 | |
69 | 71 | <div class="all blog-item <?php echo $tax; ?>"> |
@@ -29,8 +29,11 @@ |
||
29 | 29 | <?php |
30 | 30 | if ( is_front_page() && is_home() ) : ?> |
31 | 31 | <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> |
32 | - <?php else : ?> |
|
33 | - <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> |
|
32 | + <?php else { |
|
33 | + : ?> |
|
34 | + <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); |
|
35 | +} |
|
36 | +?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> |
|
34 | 37 | <?php |
35 | 38 | endif; |
36 | 39 |
@@ -26,9 +26,12 @@ |
||
26 | 26 | <?php |
27 | 27 | get_search_form(); |
28 | 28 | |
29 | - else : ?> |
|
29 | + else { |
|
30 | + : ?> |
|
30 | 31 | |
31 | - <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'lighthouse' ); ?></p> |
|
32 | + <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'lighthouse' ); |
|
33 | + } |
|
34 | + ?></p> |
|
32 | 35 | <?php |
33 | 36 | get_search_form(); |
34 | 37 |
@@ -34,8 +34,10 @@ |
||
34 | 34 | the_post(); |
35 | 35 | if ( is_search() ) : |
36 | 36 | get_template_part( 'template-parts/content', 'search' ); |
37 | - else : |
|
37 | + else { |
|
38 | + : |
|
38 | 39 | get_template_part( 'template-parts/content', get_post_format() ); |
40 | + } |
|
39 | 41 | endif; |
40 | 42 | } |
41 | 43 | } |
@@ -63,11 +63,14 @@ |
||
63 | 63 | } |
64 | 64 | <?php |
65 | 65 | // If the user has set a custom color for the text use that. |
66 | - else : |
|
66 | + else { |
|
67 | + : |
|
67 | 68 | ?> |
68 | 69 | .site-title a, |
69 | 70 | .site-description { |
70 | - color: #<?php echo esc_attr( $header_text_color ); ?>; |
|
71 | + color: #<?php echo esc_attr( $header_text_color ); |
|
72 | + } |
|
73 | + ?>; |
|
71 | 74 | } |
72 | 75 | <?php endif; ?> |
73 | 76 | </style> |
@@ -34,8 +34,10 @@ |
||
34 | 34 | the_post(); |
35 | 35 | if ( is_search() ) : |
36 | 36 | get_template_part( 'template-parts/content', 'search' ); |
37 | - else : |
|
37 | + else { |
|
38 | + : |
|
38 | 39 | get_template_part( 'template-parts/content', get_post_format() ); |
40 | + } |
|
39 | 41 | endif; |
40 | 42 | } |
41 | 43 | } |
@@ -34,8 +34,10 @@ |
||
34 | 34 | the_post(); |
35 | 35 | if ( is_search() ) : |
36 | 36 | get_template_part( 'template-parts/content', 'search' ); |
37 | - else : |
|
37 | + else { |
|
38 | + : |
|
38 | 39 | get_template_part( 'template-parts/content', get_post_format() ); |
40 | + } |
|
39 | 41 | endif; |
40 | 42 | } |
41 | 43 | } |
@@ -34,8 +34,10 @@ |
||
34 | 34 | the_post(); |
35 | 35 | if ( is_search() ) : |
36 | 36 | get_template_part( 'template-parts/content', 'search' ); |
37 | - else : |
|
37 | + else { |
|
38 | + : |
|
38 | 39 | get_template_part( 'template-parts/content', get_post_format() ); |
40 | + } |
|
39 | 41 | endif; |
40 | 42 | } |
41 | 43 | } |