Completed
Push — master ( 0e00e1...c8b83c )
by Fernando
06:22
created
header.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,12 +60,12 @@
 block discarded – undo
60 60
 			    	<strong><?php _e( 'Get your Tourism Establishment Online', 'lsx' ); ?></strong>
61 61
 			    	
62 62
 			    	<?php 
63
-			    	if(is_singular('landing-page')){ 
64
-			    			$email_address = get_post_meta(get_the_ID(),'email_address',true);
65
-			    			if(false === $email_address){
63
+					if(is_singular('landing-page')){ 
64
+							$email_address = get_post_meta(get_the_ID(),'email_address',true);
65
+							if(false === $email_address){
66 66
 								$email_address = '[email protected]';
67 67
 							}
68
-			    	} ?>
68
+					} ?>
69 69
 			    	
70 70
 			    	<span class="email-address"><?php _e( 'Questions? Email Us: ', 'lsx' ); ?><a href="mailto:<?php echo $email_address; ?>"><?php echo $email_address; ?></a></span>
71 71
 			    </div>
Please login to merge, or discard this patch.
inc/jetpack.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -123,11 +123,11 @@  discard block
 block discarded – undo
123 123
  * @category portfolio
124 124
  */
125 125
 function lsx_remove_single_related_posts() {
126
-    if ( is_single() && class_exists( 'Jetpack_RelatedPosts' ) ) {
127
-        $jprp = Jetpack_RelatedPosts::init();
128
-        $callback = array( $jprp, 'filter_add_target_to_dom' );
129
-        remove_filter( 'the_content', $callback, 40 );
130
-    }
126
+	if ( is_single() && class_exists( 'Jetpack_RelatedPosts' ) ) {
127
+		$jprp = Jetpack_RelatedPosts::init();
128
+		$callback = array( $jprp, 'filter_add_target_to_dom' );
129
+		remove_filter( 'the_content', $callback, 40 );
130
+	}
131 131
 }
132 132
 add_filter( 'wp', 'lsx_remove_single_related_posts', 20 );
133 133
 
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
 		if(is_array($types)){
312 312
 			foreach ($types as $type) {
313 313
 				$content = '<li><a href="#" data-filter=".'.$type->slug.'">';
314
-		    	$content .= $type->name;					
314
+				$content .= $type->name;					
315 315
 				$content .= '</a></li>';
316 316
 				echo $content;
317 317
 				echo "\n";
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' );
128
+	wp_enqueue_style( 'sensei', get_template_directory_uri() . '/css/sensei.css' );
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/google-font.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 	/**
14 14
 	 * Constructor
15
-	**/
15
+	 **/
16 16
 	public function __construct($title, $location, $cssDeclaration, $cssClass)
17 17
 	{
18 18
 		$this->title = $title;
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 	/**
25 25
 	 * Getters
26 26
 	 * taken from: http://stackoverflow.com/questions/4478661/getter-and-setter
27
-	**/
27
+	 **/
28 28
 	public function __get($property) 
29 29
 	{
30 30
 		if (property_exists($this, $property)) {
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' );
17
+	wp_enqueue_style( 'wp_job_manager', get_template_directory_uri() . '/css/wp-job-manager.css' );
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/google-font-collection.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 	/**
14 14
 	 * Constructor
15
-	**/
15
+	 **/
16 16
 	public function __construct($fonts)
17 17
 	{
18 18
 		if(empty($fonts))
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	/**
34 34
 	 * getFontFamilyNameArray Function
35 35
 	 * this function returns an array containing all of the font family names
36
-	**/
36
+	 **/
37 37
 	function getFontFamilyNameArray()
38 38
 	{
39 39
 		$result;
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	/**
48 48
 	 * getTitle
49 49
 	 * this function returns the font title
50
-	**/
50
+	 **/
51 51
 	function getTitle($key)
52 52
 	{
53 53
 		return $this->fonts[$key]->__get("title");
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * getLocation
58 58
 	 * this function returns the font location
59
-	**/
59
+	 **/
60 60
 	function getLocation($key)
61 61
 	{
62 62
 		return $this->fonts[$key]->__get("location");
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	/**
66 66
 	 * getCssDeclaration
67 67
 	 * this function returns the font css declaration
68
-	**/
68
+	 **/
69 69
 	function getCssDeclaration($key)
70 70
 	{
71 71
 		return $this->fonts[$key]->__get("cssDeclaration");
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 	 * this function returns an array of css classes
78 78
 	 * this function is used when displaying the fancy list of fonts in the theme customizer
79 79
 	 * this function is used to send a JS file an array for the postMessage transport option in the theme customizer
80
-	**/
80
+	 **/
81 81
 	function getCssClassArray()
82 82
 	{
83 83
 		$result;
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	/**
92 92
 	 * getTotalNumberOfFonts
93 93
 	 * this function returns the total number of fonts
94
-	**/
94
+	 **/
95 95
 	function getTotalNumberOfFonts()
96 96
 	{
97 97
 		return count($this->fonts);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	/**
101 101
 	 * printThemeCustomizerCssLocations
102 102
 	 * this function prints the links to the css files for the theme customizer
103
-	**/
103
+	 **/
104 104
 	function printThemeCustomizerCssLocations()
105 105
 	{
106 106
 		foreach ($this->fonts as $key => $value) 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	/**
117 117
 	 * printThemeCustomizerCssClasses
118 118
 	 * this function prints the theme customizer css classes necessary to display all of the fonts
119
-	**/
119
+	 **/
120 120
 	function printThemeCustomizerCssClasses()
121 121
 	{
122 122
 		?>
Please login to merge, or discard this patch.
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' );
21
+	wp_enqueue_style( 'events', get_template_directory_uri() . '/css/the-events-calendar.css' );
22 22
 }
23 23
 add_action( 'wp_enqueue_scripts', 'lsx_events_styles' );
24 24
 
Please login to merge, or discard this patch.
inc/customizer-font.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 	/**
14 14
 	 * Constructor
15
-	**/
15
+	 **/
16 16
 	public function __construct($title, $location, $cssDeclaration, $cssClass)
17 17
 	{
18 18
 		$this->title = $title;
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 	/**
25 25
 	 * Getters
26 26
 	 * taken from: http://stackoverflow.com/questions/4478661/getter-and-setter
27
-	**/
27
+	 **/
28 28
 	public function __get($property) 
29 29
 	{
30 30
 		if (property_exists($this, $property)) {
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(), WC_VERSION, 'all' );
73
-    wp_enqueue_style( 'woocommerce-smallscreen', get_template_directory_uri() . '/css/woocommerce-smallscreen.css', array( 'woocommerce-layout' ), WC_VERSION, 'only screen and (max-width: 767px)' );
74
-    wp_enqueue_style( 'woocommerce-general', get_template_directory_uri() . '/css/woocommerce.css', array(), WC_VERSION, 'all' );
72
+	wp_enqueue_style( 'woocommerce-layout', get_template_directory_uri() . '/css/woocommerce-layout.css', array(), WC_VERSION, 'all' );
73
+	wp_enqueue_style( 'woocommerce-smallscreen', get_template_directory_uri() . '/css/woocommerce-smallscreen.css', array( 'woocommerce-layout' ), WC_VERSION, 'only screen and (max-width: 767px)' );
74
+	wp_enqueue_style( 'woocommerce-general', get_template_directory_uri() . '/css/woocommerce.css', array(), WC_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.