Completed
Push — master ( 636be9...5568fc )
by Warwick
02:53
created
inc/the-events-calendar.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  */
19 19
 
20 20
 function lsx_events_styles() {
21
-    wp_enqueue_style( 'events', get_template_directory_uri() . '/css/the-events-calendar.css', array(), LSX_VERSION );
21
+	wp_enqueue_style( 'events', get_template_directory_uri() . '/css/the-events-calendar.css', array(), LSX_VERSION );
22 22
 }
23 23
 add_action( 'wp_enqueue_scripts', 'lsx_events_styles' );
24 24
 
Please login to merge, or discard this patch.
inc/sensei.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
  * @category styles
126 126
  */
127 127
 function lsx_sensei_styles() {
128
-    wp_enqueue_style( 'sensei', get_template_directory_uri() . '/css/sensei.css', array(), LSX_VERSION );
128
+	wp_enqueue_style( 'sensei', get_template_directory_uri() . '/css/sensei.css', array(), LSX_VERSION );
129 129
 }
130 130
 add_action( 'wp_enqueue_scripts', 'lsx_sensei_styles' );
131 131
 
@@ -136,10 +136,10 @@  discard block
 block discarded – undo
136 136
  * @category 	styles
137 137
  */
138 138
 function lsx_sensei_redirect_to_home( $query ){
139
-    if(!is_admin() && is_post_type_archive( 'lesson' ) ) {
140
-         wp_redirect( home_url() . '/courses-overview' );
141
-         exit;
142
-     }
139
+	if(!is_admin() && is_post_type_archive( 'lesson' ) ) {
140
+		 wp_redirect( home_url() . '/courses-overview' );
141
+		 exit;
142
+	 }
143 143
 }
144 144
 add_action( 'parse_query', 'lsx_sensei_redirect_to_home' );
145 145
 
Please login to merge, or discard this patch.
inc/wp-job-manager.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
  */
15 15
 
16 16
 function lsx_wp_job_manager_styles() {
17
-    wp_enqueue_style( 'wp_job_manager', get_template_directory_uri() . '/css/wp-job-manager.css', array(), LSX_VERSION );
17
+	wp_enqueue_style( 'wp_job_manager', get_template_directory_uri() . '/css/wp-job-manager.css', array(), LSX_VERSION );
18 18
 }
19 19
 add_action( 'wp_enqueue_scripts', 'lsx_wp_job_manager_styles' );
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
inc/woocommerce.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@
 block discarded – undo
69 69
 add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );
70 70
 
71 71
 function lsx_woocommerce_styles() {
72
-    wp_enqueue_style( 'woocommerce-layout', get_template_directory_uri() . '/css/woocommerce-layout.css', array(), LSX_VERSION, 'all' );
73
-    wp_enqueue_style( 'woocommerce-smallscreen', get_template_directory_uri() . '/css/woocommerce-smallscreen.css', array( 'woocommerce-layout' ), LSX_VERSION, 'only screen and (max-width: 767px)' );
74
-    wp_enqueue_style( 'woocommerce-general', get_template_directory_uri() . '/css/woocommerce.css', array(), LSX_VERSION, 'all' );
72
+	wp_enqueue_style( 'woocommerce-layout', get_template_directory_uri() . '/css/woocommerce-layout.css', array(), LSX_VERSION, 'all' );
73
+	wp_enqueue_style( 'woocommerce-smallscreen', get_template_directory_uri() . '/css/woocommerce-smallscreen.css', array( 'woocommerce-layout' ), LSX_VERSION, 'only screen and (max-width: 767px)' );
74
+	wp_enqueue_style( 'woocommerce-general', get_template_directory_uri() . '/css/woocommerce.css', array(), LSX_VERSION, 'all' );
75 75
 }
76 76
 add_action( 'wp_enqueue_scripts', 'lsx_woocommerce_styles' );
77 77
\ No newline at end of file
Please login to merge, or discard this patch.
inc/template-tags.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  */
12 12
 function lsx_breadcrumbs() {
13 13
   if (!function_exists('yoast_breadcrumb') && !function_exists('woocommerce_breadcrumb')) {
14
-    return null;
14
+	return null;
15 15
   }
16 16
   
17 17
   $show_on_front = get_option('show_on_front');
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	 * Displays logo when applicable
69 69
 	 *
70 70
 	 * @return void
71
-	*/
71
+	 */
72 72
 	function lsx_site_title() {
73 73
 		?>
74 74
 			<div class="site-branding">
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
 		
463 463
 		//print_r(get_nav_menu_locations());
464 464
 
465
-	    if(false != $nav_menu && isset($nav_menu['primary']) && 0 != $nav_menu['primary']){ ?>
465
+		if(false != $nav_menu && isset($nav_menu['primary']) && 0 != $nav_menu['primary']){ ?>
466 466
 			<nav class="primary-navbar collapse navbar-collapse">
467 467
 		    	<?php
468 468
 				wp_nav_menu( array(
@@ -574,9 +574,9 @@  discard block
 block discarded – undo
574 574
 				if(null != $tag_cloud){
575 575
 					echo '<h2>' . esc_html( $taxonomy ) . '</h2>';
576 576
 					echo '<aside id="' . esc_attr( $taxonomy_id ) . '" class="widget widget_' . esc_attr( $taxonomy_id ) . '">' . esc_html( $tag_cloud ) . '</aside>';
577
-		        }
578
-	        }
579
-        } 
577
+				}
578
+			}
579
+		} 
580 580
 }
581 581
 
582 582
 /**
Please login to merge, or discard this patch.