@@ -36,8 +36,10 @@ |
||
36 | 36 | |
37 | 37 | the_posts_navigation(); |
38 | 38 | |
39 | -else : |
|
39 | +else { |
|
40 | + : |
|
40 | 41 | |
41 | 42 | get_template_part( 'components/post/content', 'none' ); |
43 | +} |
|
42 | 44 | |
43 | 45 | endif; |
44 | 46 | \ No newline at end of file |
@@ -34,8 +34,10 @@ |
||
34 | 34 | the_post(); |
35 | 35 | if ( is_search() ) : |
36 | 36 | get_template_part( 'components/post/content', 'search' ); |
37 | - else : |
|
37 | + else { |
|
38 | + : |
|
38 | 39 | get_template_part( 'components/post/content', get_post_format() ); |
40 | + } |
|
39 | 41 | endif; |
40 | 42 | } |
41 | 43 | } |
@@ -28,8 +28,10 @@ |
||
28 | 28 | |
29 | 29 | the_posts_navigation(); |
30 | 30 | |
31 | -else : |
|
31 | +else { |
|
32 | + : |
|
32 | 33 | |
33 | 34 | get_template_part( 'components/post/content', 'none' ); |
35 | +} |
|
34 | 36 | |
35 | 37 | endif; |
@@ -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.', 'bitsy' ); ?></p> |
|
32 | + <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'bitsy' ); |
|
33 | + } |
|
34 | + ?></p> |
|
32 | 35 | <?php |
33 | 36 | get_search_form(); |
34 | 37 |
@@ -14,8 +14,10 @@ |
||
14 | 14 | <?php |
15 | 15 | if ( is_single() ) : |
16 | 16 | the_title( '<h1 class="entry-title">', '</h1>' ); |
17 | - else : |
|
17 | + else { |
|
18 | + : |
|
18 | 19 | the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); |
20 | + } |
|
19 | 21 | endif; |
20 | 22 | |
21 | 23 | if ( 'post' === get_post_type() ) : ?> |
@@ -36,8 +36,10 @@ |
||
36 | 36 | |
37 | 37 | the_posts_navigation(); |
38 | 38 | |
39 | -else : |
|
39 | +else { |
|
40 | + : |
|
40 | 41 | |
41 | 42 | get_template_part( 'components/post/content', 'none' ); |
43 | +} |
|
42 | 44 | |
43 | 45 | endif; |
44 | 46 | \ No newline at end of file |
@@ -19,9 +19,9 @@ |
||
19 | 19 | } |
20 | 20 | $sidebar_widget_count = $_bitsy_sb_widgets; |
21 | 21 | |
22 | - if ( isset( $sidebar_widget_count[ $sidebar_id ] ) ) { |
|
23 | - $widget_count = count( $sidebar_widget_count[ $sidebar_id ] ); |
|
24 | - $widget_classes = 'widget-count-' . count( $sidebar_widget_count[ $sidebar_id ] ); |
|
22 | + if ( isset( $sidebar_widget_count[$sidebar_id] ) ) { |
|
23 | + $widget_count = count( $sidebar_widget_count[$sidebar_id] ); |
|
24 | + $widget_classes = 'widget-count-' . count( $sidebar_widget_count[$sidebar_id] ); |
|
25 | 25 | |
26 | 26 | if ( $widget_count >= 4 ) { |
27 | 27 | // Four or more widgets active |