@@ -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 | |
@@ -48,9 +48,11 @@ |
||
| 48 | 48 | // Load content after the loop. |
| 49 | 49 | do_action('alnp_load_after_loop'); |
| 50 | 50 | |
| 51 | -else : |
|
| 51 | +else { |
|
| 52 | + : |
|
| 52 | 53 | |
| 53 | 54 | // Load content if there are no more posts. |
| 54 | 55 | do_action('alnp_no_more_posts'); |
| 56 | +} |
|
| 55 | 57 | |
| 56 | 58 | endif; // END if have_posts() |