@@ -15,15 +15,15 @@ discard block |
||
15 | 15 | |
16 | 16 | get_header( spurs_template_base() ); |
17 | 17 | |
18 | -if (!is_front_page() && function_exists('yoast_breadcrumb')) { |
|
19 | - yoast_breadcrumb('<div id="breadcrumbs">', '</div>'); |
|
18 | +if ( ! is_front_page() && function_exists( 'yoast_breadcrumb' ) ) { |
|
19 | + yoast_breadcrumb( '<div id="breadcrumbs">', '</div>' ); |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | ?> |
23 | 23 | |
24 | 24 | <div id="primary" class="<?php spurs_content_classes(); ?>"> |
25 | 25 | |
26 | - <?php if ( ( is_page_template( 'page-templates/sidebar-left.php' ) || is_page_template( 'page-templates/sidebar-right.php' ) || is_page_template( 'page-templates/both-sidebars.php' ) ) && ( is_active_sidebar( 'sidebar-left' ) || is_active_sidebar( 'sidebar-right' ) ) ) { |
|
26 | + <?php if ( ( is_page_template( 'page-templates/sidebar-left.php' ) || is_page_template( 'page-templates/sidebar-right.php' ) || is_page_template( 'page-templates/both-sidebars.php' ) ) && ( is_active_sidebar( 'sidebar-left' ) || is_active_sidebar( 'sidebar-right' ) ) ) { |
|
27 | 27 | echo '<div class="container"><div class=row>'; |
28 | 28 | } ?> |
29 | 29 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | <?php include spurs_template_path(); ?> |
34 | 34 | <?php |
35 | 35 | |
36 | - if( 'pagination' === get_theme_mod( 'spurs_pagination' ) ){ |
|
36 | + if ( 'pagination' === get_theme_mod( 'spurs_pagination' ) ) { |
|
37 | 37 | spurs_pagination(); |
38 | 38 | } else { |
39 | 39 | spurs_load_more(); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | <?php spurs_right_sidebar(); ?> |
47 | 47 | |
48 | - <?php if ( ( is_page_template( 'page-templates/sidebar-left.php' ) || is_page_template( 'page-templates/sidebar-right.php' ) ) && ( is_active_sidebar( 'sidebar-left' ) || is_active_sidebar( 'sidebar-right' ) ) ) { |
|
48 | + <?php if ( ( is_page_template( 'page-templates/sidebar-left.php' ) || is_page_template( 'page-templates/sidebar-right.php' ) ) && ( is_active_sidebar( 'sidebar-left' ) || is_active_sidebar( 'sidebar-right' ) ) ) { |
|
49 | 49 | echo '</div></div>'; |
50 | 50 | } ?> |
51 | 51 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | <?php include spurs_template_path(); ?> |
34 | 34 | <?php |
35 | 35 | |
36 | - if( 'pagination' === get_theme_mod( 'spurs_pagination' ) ){ |
|
36 | + if( 'pagination' === get_theme_mod( 'spurs_pagination' ) ) { |
|
37 | 37 | spurs_pagination(); |
38 | 38 | } else { |
39 | 39 | spurs_load_more(); |