Passed
Push — add/471 ( 1979ae )
by Virginia
04:59
created
single.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -20,17 +20,17 @@  discard block
 block discarded – undo
20 20
 		<?php if ( have_posts() ) : ?>
21 21
 
22 22
 			<?php
23
-			while ( have_posts() ) :
24
-				the_post();
25
-			?>
23
+               while ( have_posts() ) :
24
+                    the_post();
25
+               ?>
26 26
 
27 27
 				<?php
28
-				if ( is_singular( 'post' ) ) {
29
-					get_template_part( 'partials/content', 'post' );
30
-				} else {
31
-					get_template_part( 'partials/content', 'custom' );
32
-				}
33
-				?>
28
+                    if ( is_singular( 'post' ) ) {
29
+                         get_template_part( 'partials/content', 'post' );
30
+                    } else {
31
+                         get_template_part( 'partials/content', 'custom' );
32
+                    }
33
+                    ?>
34 34
 
35 35
 			<?php endwhile; ?>
36 36
 
@@ -43,16 +43,16 @@  discard block
 block discarded – undo
43 43
 	<?php lsx_content_after(); ?>
44 44
 
45 45
 	<?php
46
-	if ( is_singular( 'post' ) ) {
47
-		lsx_post_nav();
48
-	}
49
-	?>
46
+     if ( is_singular( 'post' ) ) {
47
+          lsx_post_nav();
48
+     }
49
+     ?>
50 50
 
51 51
 	<?php
52
-	if ( comments_open() ) {
53
-		comments_template();
54
-	}
55
-	?>
52
+     if ( comments_open() ) {
53
+          comments_template();
54
+     }
55
+     ?>
56 56
 
57 57
 </div><!-- #primary -->
58 58
 
Please login to merge, or discard this patch.
lib/theme-support.php 1 patch
Indentation   +136 added lines, -136 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@  discard block
 block discarded – undo
7 7
  */
8 8
 function editor_styles() {
9 9
 
10
-	// Enqueue  shared editor styles.
11
-	add_editor_style(
12
-		'/assets/css/admin/gutenberg-admin.css'
13
-	);
14
-	add_editor_style(
15
-		'/assets/css/yoast/yoast.css'
16
-	);
10
+     // Enqueue  shared editor styles.
11
+     add_editor_style(
12
+          '/assets/css/admin/gutenberg-admin.css'
13
+     );
14
+     add_editor_style(
15
+          '/assets/css/yoast/yoast.css'
16
+     );
17 17
 
18 18
 }
19 19
 add_action( 'admin_init', 'editor_styles' );
@@ -25,136 +25,136 @@  discard block
 block discarded – undo
25 25
  */
26 26
 
27 27
 if ( ! function_exists( 'theme_support' ) ) :
28
-	/**
29
-	 * Add theme support functions.
30
-	 *
31
-	 * @return void
32
-	 */
33
-	function theme_support() {
34
-		// Add support for editor styles.
35
-		add_theme_support( 'editor-styles' );
36
-		// Add support for full and wide align images.
37
-		add_theme_support( 'align-wide' );
38
-		// Add support for styling blocks.
39
-		add_theme_support( 'wp-block-styles' );
40
-		// Add support for responsive embedded content.
41
-		add_theme_support( 'responsive-embeds' );
42
-		// Add support for Custom Line Heights.
43
-		add_theme_support( 'custom-line-height' );
44
-		// Add support for Custom Units.
45
-		add_theme_support( 'custom-units' );
46
-		// Add custom editor font sizes.
47
-		add_theme_support(
48
-			'editor-font-sizes',
49
-			array(
50
-				array(
51
-					'name'      => esc_html_x( 'Small', 'font size option label', 'lsx' ),
52
-					'shortName' => esc_html_x( 'S', 'abbreviation of the font size option label', 'lsx' ),
53
-					'size'      => 13,
54
-					'slug'      => 'small',
55
-				),
56
-				array(
57
-					'name'      => esc_html_x( 'Normal', 'font size option label', 'lsx' ),
58
-					'shortName' => esc_html_x( 'N', 'abbreviation of the font size option label', 'lsx' ),
59
-					'size'      => 15,
60
-					'slug'      => 'normal',
61
-				),
62
-				array(
63
-					'name'      => esc_html_x( 'Medium', 'font size option label', 'lsx' ),
64
-					'shortName' => esc_html_x( 'M', 'abbreviation of the font size option label', 'lsx' ),
65
-					'size'      => 22,
66
-					'slug'      => 'medium',
67
-				),
68
-				array(
69
-					'name'      => esc_html_x( 'Large', 'font size option label', 'lsx' ),
70
-					'shortName' => esc_html_x( 'L', 'abbreviation of the font size option label', 'lsx' ),
71
-					'size'      => 30,
72
-					'slug'      => 'large',
73
-				),
74
-				array(
75
-					'name'      => esc_html_x( 'Huge', 'font size option label', 'lsx' ),
76
-					'shortName' => esc_html_x( 'XL', 'abbreviation of the font size option label', 'lsx' ),
77
-					'size'      => 40,
78
-					'slug'      => 'huge',
79
-				),
80
-			)
81
-		);
28
+     /**
29
+      * Add theme support functions.
30
+      *
31
+      * @return void
32
+      */
33
+     function theme_support() {
34
+          // Add support for editor styles.
35
+          add_theme_support( 'editor-styles' );
36
+          // Add support for full and wide align images.
37
+          add_theme_support( 'align-wide' );
38
+          // Add support for styling blocks.
39
+          add_theme_support( 'wp-block-styles' );
40
+          // Add support for responsive embedded content.
41
+          add_theme_support( 'responsive-embeds' );
42
+          // Add support for Custom Line Heights.
43
+          add_theme_support( 'custom-line-height' );
44
+          // Add support for Custom Units.
45
+          add_theme_support( 'custom-units' );
46
+          // Add custom editor font sizes.
47
+          add_theme_support(
48
+               'editor-font-sizes',
49
+               array(
50
+                    array(
51
+                         'name'      => esc_html_x( 'Small', 'font size option label', 'lsx' ),
52
+                         'shortName' => esc_html_x( 'S', 'abbreviation of the font size option label', 'lsx' ),
53
+                         'size'      => 13,
54
+                         'slug'      => 'small',
55
+                    ),
56
+                    array(
57
+                         'name'      => esc_html_x( 'Normal', 'font size option label', 'lsx' ),
58
+                         'shortName' => esc_html_x( 'N', 'abbreviation of the font size option label', 'lsx' ),
59
+                         'size'      => 15,
60
+                         'slug'      => 'normal',
61
+                    ),
62
+                    array(
63
+                         'name'      => esc_html_x( 'Medium', 'font size option label', 'lsx' ),
64
+                         'shortName' => esc_html_x( 'M', 'abbreviation of the font size option label', 'lsx' ),
65
+                         'size'      => 22,
66
+                         'slug'      => 'medium',
67
+                    ),
68
+                    array(
69
+                         'name'      => esc_html_x( 'Large', 'font size option label', 'lsx' ),
70
+                         'shortName' => esc_html_x( 'L', 'abbreviation of the font size option label', 'lsx' ),
71
+                         'size'      => 30,
72
+                         'slug'      => 'large',
73
+                    ),
74
+                    array(
75
+                         'name'      => esc_html_x( 'Huge', 'font size option label', 'lsx' ),
76
+                         'shortName' => esc_html_x( 'XL', 'abbreviation of the font size option label', 'lsx' ),
77
+                         'size'      => 40,
78
+                         'slug'      => 'huge',
79
+                    ),
80
+               )
81
+          );
82 82
 
83
-		// Add support for custom color scheme.
84
-		add_theme_support( 'editor-color-palette', array(
85
-			array(
86
-				'name'  => __( 'Strong Blue', 'lsx' ),
87
-				'slug'  => 'strong-blue',
88
-				'color' => '#27639e',
89
-			),
90
-			array(
91
-				'name'  => __( 'Lighter Blue', 'lsx' ),
92
-				'slug'  => 'lighter-blue',
93
-				'color' => '#428bca',
94
-			),
95
-			array(
96
-				'name'  => __( 'Yellow', 'lsx' ),
97
-				'slug'  => 'light-yellow',
98
-				'color' => '#f7ae00',
99
-			),
100
-			array(
101
-				'name'  => __( 'Dark Yellow', 'lsx' ),
102
-				'slug'  => 'dark-yellow',
103
-				'color' => '#ab7800',
104
-			),
105
-			array(
106
-				'name'  => __( 'Green', 'lsx' ),
107
-				'slug'  => 'light-green',
108
-				'color' => '#6BA913',
109
-			),
110
-			array(
111
-				'name'  => __( 'Dark Green', 'lsx' ),
112
-				'slug'  => 'dark-green',
113
-				'color' => '#3F640B',
114
-			),
115
-			array(
116
-				'name'  => __( 'White', 'lsx' ),
117
-				'slug'  => 'white',
118
-				'color' => '#ffffff',
119
-			),
120
-			array(
121
-				'name'  => __( 'Black', 'lsx' ),
122
-				'slug'  => 'black',
123
-				'color' => '#000000',
124
-			),
125
-		) );
83
+          // Add support for custom color scheme.
84
+          add_theme_support( 'editor-color-palette', array(
85
+               array(
86
+                    'name'  => __( 'Strong Blue', 'lsx' ),
87
+                    'slug'  => 'strong-blue',
88
+                    'color' => '#27639e',
89
+               ),
90
+               array(
91
+                    'name'  => __( 'Lighter Blue', 'lsx' ),
92
+                    'slug'  => 'lighter-blue',
93
+                    'color' => '#428bca',
94
+               ),
95
+               array(
96
+                    'name'  => __( 'Yellow', 'lsx' ),
97
+                    'slug'  => 'light-yellow',
98
+                    'color' => '#f7ae00',
99
+               ),
100
+               array(
101
+                    'name'  => __( 'Dark Yellow', 'lsx' ),
102
+                    'slug'  => 'dark-yellow',
103
+                    'color' => '#ab7800',
104
+               ),
105
+               array(
106
+                    'name'  => __( 'Green', 'lsx' ),
107
+                    'slug'  => 'light-green',
108
+                    'color' => '#6BA913',
109
+               ),
110
+               array(
111
+                    'name'  => __( 'Dark Green', 'lsx' ),
112
+                    'slug'  => 'dark-green',
113
+                    'color' => '#3F640B',
114
+               ),
115
+               array(
116
+                    'name'  => __( 'White', 'lsx' ),
117
+                    'slug'  => 'white',
118
+                    'color' => '#ffffff',
119
+               ),
120
+               array(
121
+                    'name'  => __( 'Black', 'lsx' ),
122
+                    'slug'  => 'black',
123
+                    'color' => '#000000',
124
+               ),
125
+          ) );
126 126
 
127
-		$primary_color    = 'rgba(39,99,158,1)';
128
-		$secondary_color  = 'rgba(247,174,0,1)';
129
-		$tertiary_color   = 'rgba(107,169,19,1)';
130
-		$background_color = 'rgba(249,249,249,1)';
127
+          $primary_color    = 'rgba(39,99,158,1)';
128
+          $secondary_color  = 'rgba(247,174,0,1)';
129
+          $tertiary_color   = 'rgba(107,169,19,1)';
130
+          $background_color = 'rgba(249,249,249,1)';
131 131
 
132
-		add_theme_support(
133
-			'editor-gradient-presets',
134
-			array(
135
-				array(
136
-					'name'     => __( 'Primary to Secondary', 'lsx' ),
137
-					'gradient' => 'linear-gradient(135deg, ' . esc_attr( $primary_color ) . ' 0%, ' . esc_attr( $secondary_color ) . ' 100%)',
138
-					'slug'     => 'primary-to-secondary',
139
-				),
140
-				array(
141
-					'name'     => __( 'Primary to Tertiary', 'lsx' ),
142
-					'gradient' => 'linear-gradient(135deg, ' . esc_attr( $primary_color ) . ' 0%, ' . esc_attr( $tertiary_color ) . ' 100%)',
143
-					'slug'     => 'primary-to-tertiary',
144
-				),
145
-				array(
146
-					'name'     => __( 'Primary to Background', 'lsx' ),
147
-					'gradient' => 'linear-gradient(135deg, ' . esc_attr( $primary_color ) . ' 0%, ' . esc_attr( $background_color ) . ' 100%)',
148
-					'slug'     => 'primary-to-background',
149
-				),
150
-				array(
151
-					'name'     => __( 'Secondary to Tertiary', 'lsx' ),
152
-					'gradient' => 'linear-gradient(135deg, ' . esc_attr( $secondary_color ) . ' 0%, ' . esc_attr( $tertiary_color ) . ' 100%)',
153
-					'slug'     => 'secondary-to-tertiary',
154
-				),
155
-			)
156
-		);
157
-	}
132
+          add_theme_support(
133
+               'editor-gradient-presets',
134
+               array(
135
+                    array(
136
+                         'name'     => __( 'Primary to Secondary', 'lsx' ),
137
+                         'gradient' => 'linear-gradient(135deg, ' . esc_attr( $primary_color ) . ' 0%, ' . esc_attr( $secondary_color ) . ' 100%)',
138
+                         'slug'     => 'primary-to-secondary',
139
+                    ),
140
+                    array(
141
+                         'name'     => __( 'Primary to Tertiary', 'lsx' ),
142
+                         'gradient' => 'linear-gradient(135deg, ' . esc_attr( $primary_color ) . ' 0%, ' . esc_attr( $tertiary_color ) . ' 100%)',
143
+                         'slug'     => 'primary-to-tertiary',
144
+                    ),
145
+                    array(
146
+                         'name'     => __( 'Primary to Background', 'lsx' ),
147
+                         'gradient' => 'linear-gradient(135deg, ' . esc_attr( $primary_color ) . ' 0%, ' . esc_attr( $background_color ) . ' 100%)',
148
+                         'slug'     => 'primary-to-background',
149
+                    ),
150
+                    array(
151
+                         'name'     => __( 'Secondary to Tertiary', 'lsx' ),
152
+                         'gradient' => 'linear-gradient(135deg, ' . esc_attr( $secondary_color ) . ' 0%, ' . esc_attr( $tertiary_color ) . ' 100%)',
153
+                         'slug'     => 'secondary-to-tertiary',
154
+                    ),
155
+               )
156
+          );
157
+     }
158 158
 endif;
159 159
 add_action( 'after_setup_theme', 'theme_support' );
160 160
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
  * @return void
166 166
  */
167 167
 function lsx_wpforms_match_button_block( $form_data ) {
168
-	$form_data['settings']['submit_class'] .= ' btn';
169
-	return $form_data;
168
+     $form_data['settings']['submit_class'] .= ' btn';
169
+     return $form_data;
170 170
 }
171 171
 add_filter( 'wpforms_frontend_form_data', 'lsx_wpforms_match_button_block' );
Please login to merge, or discard this patch.
comments.php 1 patch
Indentation   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  */
7 7
 
8 8
 if ( post_password_required() ) {
9
-	return;
9
+     return;
10 10
 }
11 11
 
12 12
 $commenter = wp_get_current_commenter();
@@ -15,20 +15,20 @@  discard block
 block discarded – undo
15 15
 $html_req  = ( $req ? " required='required'" : '' );
16 16
 
17 17
 $comment_form_args = array(
18
-	'comment_field' => '<p class="comment-form-comment"><textarea placeholder="' . esc_html__( 'Comment', 'lsx' ) . '" id="comment" class="form-control" name="comment" cols="45" rows="8"' . $aria_req . $html_req . '></textarea></p>',
18
+     'comment_field' => '<p class="comment-form-comment"><textarea placeholder="' . esc_html__( 'Comment', 'lsx' ) . '" id="comment" class="form-control" name="comment" cols="45" rows="8"' . $aria_req . $html_req . '></textarea></p>',
19 19
 
20
-	'fields'        => array(
21
-		'author' => '<p class="comment-form-author"><label for="author">' . esc_html__( 'Name', 'lsx' ) . '</label> ' .
22
-			( $req ? '<span class="required">*</span>' : '' ) .
23
-			'<input class="form-control" placeholder="' . esc_html__( 'Name', 'lsx' ) . '" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . $html_req . '></p>',
20
+     'fields'        => array(
21
+          'author' => '<p class="comment-form-author"><label for="author">' . esc_html__( 'Name', 'lsx' ) . '</label> ' .
22
+               ( $req ? '<span class="required">*</span>' : '' ) .
23
+               '<input class="form-control" placeholder="' . esc_html__( 'Name', 'lsx' ) . '" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . $html_req . '></p>',
24 24
 
25
-		'email'  => '<p class="comment-form-email"><label for="email">' . esc_html__( 'Email', 'lsx' ) . '</label> ' .
26
-			( $req ? '<span class="required">*</span>' : '' ) .
27
-			'<input class="form-control" placeholder="' . esc_html__( 'Email', 'lsx' ) . '" id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . $html_req . '></p>',
25
+          'email'  => '<p class="comment-form-email"><label for="email">' . esc_html__( 'Email', 'lsx' ) . '</label> ' .
26
+               ( $req ? '<span class="required">*</span>' : '' ) .
27
+               '<input class="form-control" placeholder="' . esc_html__( 'Email', 'lsx' ) . '" id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . $html_req . '></p>',
28 28
 
29
-		'url'    => '<p class="comment-form-url"><label for="url">' . esc_html__( 'Website', 'lsx' ) . '</label>' .
30
-			'<input class="form-control" placeholder="' . esc_html__( 'Website', 'lsx' ) . '" id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30"></p>',
31
-	),
29
+          'url'    => '<p class="comment-form-url"><label for="url">' . esc_html__( 'Website', 'lsx' ) . '</label>' .
30
+               '<input class="form-control" placeholder="' . esc_html__( 'Website', 'lsx' ) . '" id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30"></p>',
31
+     ),
32 32
 );
33 33
 
34 34
 comment_form( $comment_form_args );
@@ -40,47 +40,47 @@  discard block
 block discarded – undo
40 40
 	<section id="comments">
41 41
 		<h3>
42 42
 			<?php
43
-				$comments_number = get_comments_number();
44
-
45
-			if ( '1' === $comments_number ) {
46
-				printf(
47
-					/* Translators: %s: post title */
48
-					esc_html_x( 'One Response to &ldquo;%s&rdquo;', 'comments.php', 'lsx' ),
49
-					get_the_title()
50
-				);
51
-			} else {
52
-				printf(
53
-					esc_html(
54
-						/* Translators: 1: number of comments, 2: post title */
55
-						_nx(
56
-							'%1$s Response to &ldquo;%2$s&rdquo;',
57
-							'%1$s Responses to &ldquo;%2$s&rdquo;',
58
-							$comments_number,
59
-							'comments.php',
60
-							'lsx'
61
-						)
62
-					),
63
-					esc_html( number_format_i18n( $comments_number ) ),
64
-					get_the_title()
65
-				);
66
-			}
67
-			?>
43
+                    $comments_number = get_comments_number();
44
+
45
+               if ( '1' === $comments_number ) {
46
+                    printf(
47
+                         /* Translators: %s: post title */
48
+                         esc_html_x( 'One Response to &ldquo;%s&rdquo;', 'comments.php', 'lsx' ),
49
+                         get_the_title()
50
+                    );
51
+               } else {
52
+                    printf(
53
+                         esc_html(
54
+                              /* Translators: 1: number of comments, 2: post title */
55
+                              _nx(
56
+                                   '%1$s Response to &ldquo;%2$s&rdquo;',
57
+                                   '%1$s Responses to &ldquo;%2$s&rdquo;',
58
+                                   $comments_number,
59
+                                   'comments.php',
60
+                                   'lsx'
61
+                              )
62
+                         ),
63
+                         esc_html( number_format_i18n( $comments_number ) ),
64
+                         get_the_title()
65
+                    );
66
+               }
67
+               ?>
68 68
 		</h3>
69 69
 
70 70
 		<ol class="media-list">
71 71
 			<?php
72
-				wp_list_comments(
73
-					array(
74
-						'walker' => new LSX_Walker_Comment(),
75
-					)
76
-				);
77
-			?>
72
+                    wp_list_comments(
73
+                         array(
74
+                              'walker' => new LSX_Walker_Comment(),
75
+                         )
76
+                    );
77
+               ?>
78 78
 		</ol>
79 79
 
80 80
 		<?php
81
-		$comment_pages_count = get_comment_pages_count();
82
-		if ( $comment_pages_count > 1 && get_option( 'page_comments' ) ) :
83
-			?>
81
+          $comment_pages_count = get_comment_pages_count();
82
+          if ( $comment_pages_count > 1 && get_option( 'page_comments' ) ) :
83
+               ?>
84 84
 			<nav>
85 85
 				<ul class="pager">
86 86
 					<?php if ( get_previous_comments_link() ) : ?>
@@ -116,5 +116,5 @@  discard block
 block discarded – undo
116 116
 	<?php lsx_comments_after(); ?>
117 117
 
118 118
 	<?php
119
-	endif;
119
+     endif;
120 120
 ?>
Please login to merge, or discard this patch.
sidebar.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -8,23 +8,23 @@  discard block
 block discarded – undo
8 8
 $sidebar_enabled = apply_filters( 'lsx_sidebar_enable', true );
9 9
 
10 10
 if ( true !== $sidebar_enabled ) {
11
-	return true;
11
+     return true;
12 12
 }
13 13
 
14 14
 $show_on_front = get_option( 'show_on_front' );
15 15
 
16 16
 if ( 'page' === $show_on_front && is_front_page() ) {
17
-	$layout  = '1c';
18
-	$sidebar = 'home';
17
+     $layout  = '1c';
18
+     $sidebar = 'home';
19 19
 } else {
20
-	$layout = get_theme_mod( 'lsx_layout', '2cr' );
21
-	$layout = apply_filters( 'lsx_layout', $layout );
22
-
23
-	if ( 'posts' === $show_on_front && is_home() ) {
24
-		$sidebar = 'home';
25
-	} else {
26
-		$sidebar = 'sidebar-1';
27
-	}
20
+     $layout = get_theme_mod( 'lsx_layout', '2cr' );
21
+     $layout = apply_filters( 'lsx_layout', $layout );
22
+
23
+     if ( 'posts' === $show_on_front && is_home() ) {
24
+          $sidebar = 'home';
25
+     } else {
26
+          $sidebar = 'sidebar-1';
27
+     }
28 28
 }
29 29
 
30 30
 if ( '1c' !== $layout ) : ?>
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
 
45 45
 				<ul>
46 46
 					<?php
47
-						wp_get_archives( array(
48
-							'type' => 'monthly',
49
-						) );
50
-					?>
47
+                              wp_get_archives( array(
48
+                                   'type' => 'monthly',
49
+                              ) );
50
+                         ?>
51 51
 				</ul>
52 52
 			</aside>
53 53
 
Please login to merge, or discard this patch.
sidebar-sitemap.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
11 11
 $layout = apply_filters( 'lsx_layout', $layout );
12 12
 
13 13
 if ( 'posts' === $show_on_front && is_home() ) {
14
-	$sidebar = 'home';
14
+     $sidebar = 'home';
15 15
 } else {
16
-	$sidebar = 'sidebar-1';
16
+     $sidebar = 'sidebar-1';
17 17
 }
18 18
 
19 19
 if ( '1c' !== $layout ) : ?>
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
 
29 29
 		<aside id="categories" class="widget widget_categories">
30 30
 			<?php
31
-				echo wp_tag_cloud( array(
32
-					'taxonomy' => 'category',
33
-				) );
34
-			?>
31
+                    echo wp_tag_cloud( array(
32
+                         'taxonomy' => 'category',
33
+                    ) );
34
+               ?>
35 35
 		</aside>
36 36
 
37 37
 		<?php lsx_sitemap_taxonomy_clouds(); ?>
Please login to merge, or discard this patch.
index.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
 
22 22
 			<div class="post-wrapper <?php echo esc_attr( lsx_post_wrapper_class() ); ?>">
23 23
 				<?php
24
-				while ( have_posts() ) :
25
-					the_post();
26
-					lsx_get_template_part();
27
-				endwhile;
28
-				?>
24
+                    while ( have_posts() ) :
25
+                         the_post();
26
+                         lsx_get_template_part();
27
+                    endwhile;
28
+                    ?>
29 29
 			</div>
30 30
 
31 31
 			<?php lsx_paging_nav(); ?>
Please login to merge, or discard this patch.
searchform.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 $style = 'body #searchform { display: block; }';
9 9
 
10 10
 if ( is_customize_preview() ) {
11
-	$search_form = get_theme_mod( 'lsx_header_search', false );
11
+     $search_form = get_theme_mod( 'lsx_header_search', false );
12 12
 
13
-	if ( false === $search_form ) {
14
-		$style = 'body #searchform { display: none; }';
15
-	}
13
+     if ( false === $search_form ) {
14
+          $style = 'body #searchform { display: none; }';
15
+     }
16 16
 }
17 17
 ?>
18 18
 
Please login to merge, or discard this patch.
footer.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -22,49 +22,49 @@
 block discarded – undo
22 22
 
23 23
 						<p class="credit <?php if ( has_nav_menu( 'social' ) || has_nav_menu( 'footer' ) ) echo 'credit-float'; ?>">
24 24
 							<?php
25
-								printf(
26
-									/* Translators: 1: current year, 2: blog name */
27
-									esc_html__( '&#169; %1$s %2$s All Rights Reserved', 'lsx' ),
28
-									esc_html( date_i18n( 'Y' ) ),
29
-									esc_html( get_bloginfo( 'name' ) )
30
-								);
31
-								?>
25
+                                        printf(
26
+                                             /* Translators: 1: current year, 2: blog name */
27
+                                             esc_html__( '&#169; %1$s %2$s All Rights Reserved', 'lsx' ),
28
+                                             esc_html( date_i18n( 'Y' ) ),
29
+                                             esc_html( get_bloginfo( 'name' ) )
30
+                                        );
31
+                                        ?>
32 32
 
33 33
 							<?php if ( apply_filters( 'lsx_credit_link', true ) ) : ?>
34 34
 								<?php
35
-									printf(
36
-										/* Translators: 1: theme name, 2: author name and link */
37
-										esc_html__( ' | %1$s is a WordPress theme developed by %2$s.', 'lsx' ),
38
-										'LSX',
39
-										'<a href="https://www.lsdev.biz/" rel="nofollow noreferrer noopener" title="LightSpeed WordPress Development - Unlocking the full value of your business, online" rel="author nofollow noopener noreferrer" >LightSpeed</a>'
40
-									);
41
-								?>
35
+                                             printf(
36
+                                                  /* Translators: 1: theme name, 2: author name and link */
37
+                                                  esc_html__( ' | %1$s is a WordPress theme developed by %2$s.', 'lsx' ),
38
+                                                  'LSX',
39
+                                                  '<a href="https://www.lsdev.biz/" rel="nofollow noreferrer noopener" title="LightSpeed WordPress Development - Unlocking the full value of your business, online" rel="author nofollow noopener noreferrer" >LightSpeed</a>'
40
+                                             );
41
+                                        ?>
42 42
 							<?php endif; ?>
43 43
 						</p>
44 44
 
45 45
 						<?php if ( has_nav_menu( 'social' ) ) : ?>
46 46
 							<nav id="social-navigation" class="social-navigation">
47 47
 								<?php
48
-									wp_nav_menu(
49
-										array(
50
-											'theme_location' => 'social',
51
-											'depth' => 1,
52
-										)
53
-									);
54
-								?>
48
+                                             wp_nav_menu(
49
+                                                  array(
50
+                                                       'theme_location' => 'social',
51
+                                                       'depth' => 1,
52
+                                                  )
53
+                                             );
54
+                                        ?>
55 55
 							</nav><!-- .social-navigation -->
56 56
 						<?php endif; ?>
57 57
 
58 58
 						<?php if ( has_nav_menu( 'footer' ) ) : ?>
59 59
 							<nav id="footer-navigation" class="footer-navigation">
60 60
 								<?php
61
-									wp_nav_menu(
62
-										array(
63
-											'theme_location' => 'footer',
64
-											'depth' => 1,
65
-										)
66
-									);
67
-								?>
61
+                                             wp_nav_menu(
62
+                                                  array(
63
+                                                       'theme_location' => 'footer',
64
+                                                       'depth' => 1,
65
+                                                  )
66
+                                             );
67
+                                        ?>
68 68
 							</nav><!-- .footer-navigation -->
69 69
 						<?php endif; ?>
70 70
 
Please login to merge, or discard this patch.
comment.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@  discard block
 block discarded – undo
6 6
  */
7 7
 
8 8
 if ( isset( $GLOBALS['comment_depth'] ) ) {
9
-	$depth = intval( $GLOBALS['comment_depth'] );
9
+     $depth = intval( $GLOBALS['comment_depth'] );
10 10
 } else {
11
-	$depth = 1;
11
+     $depth = 1;
12 12
 }
13 13
 
14 14
 $max_depth = intval( get_option( 'thread_comments_depth' ) );
@@ -21,13 +21,13 @@  discard block
 block discarded – undo
21 21
 	<time datetime="<?php echo comment_date( 'c' ); ?>">
22 22
 		<a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
23 23
 			<?php
24
-				printf(
25
-					/* Translators: 1: post date, 2: post time */
26
-					esc_html__( '%1$s on %2$s', 'lsx' ),
27
-					get_comment_date(),
28
-					get_comment_time()
29
-				);
30
-				?>
24
+                    printf(
25
+                         /* Translators: 1: post date, 2: post time */
26
+                         esc_html__( '%1$s on %2$s', 'lsx' ),
27
+                         get_comment_date(),
28
+                         get_comment_time()
29
+                    );
30
+                    ?>
31 31
 		</a>
32 32
 	</time>
33 33
 
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
 comment_text();
44 44
 
45 45
 comment_reply_link(
46
-	array(
47
-		'depth'     => $depth,
48
-		'max_depth' => $max_depth,
49
-	)
46
+     array(
47
+          'depth'     => $depth,
48
+          'max_depth' => $max_depth,
49
+     )
50 50
 );
Please login to merge, or discard this patch.