@@ -42,11 +42,9 @@ |
||
| 42 | 42 | |
| 43 | 43 | if ( file_exists( $child_path . 'content-partial.php' ) ) { |
| 44 | 44 | include( $child_path . 'content-partial.php' ); |
| 45 | - } |
|
| 46 | - else if( file_exists( $template_path . 'content-partial.php') ) { |
|
| 45 | + } else if( file_exists( $template_path . 'content-partial.php') ) { |
|
| 47 | 46 | include( $template_path . 'content-partial.php' ); |
| 48 | - } |
|
| 49 | - else if( file_exists( $default_path . '/template/content-partial.php' ) ) { |
|
| 47 | + } else if( file_exists( $default_path . '/template/content-partial.php' ) ) { |
|
| 50 | 48 | include( $default_path . '/template/content-partial.php' ); |
| 51 | 49 | } |
| 52 | 50 | |
@@ -78,9 +78,11 @@ |
||
| 78 | 78 | // Load content after the loop. |
| 79 | 79 | do_action( 'alnp_load_after_loop' ); |
| 80 | 80 | |
| 81 | -else : |
|
| 81 | +else { |
|
| 82 | + : |
|
| 82 | 83 | |
| 83 | 84 | // Load content if there are no more posts. |
| 84 | 85 | do_action( 'alnp_no_more_posts' ); |
| 86 | +} |
|
| 85 | 87 | |
| 86 | 88 | endif; // END if have_posts() |