1 | <?php |
||
2 | /** |
||
3 | * Customizer colour options |
||
4 | * |
||
5 | * @package LSX Customizer |
||
6 | * @author LightSpeed |
||
7 | * @license GPL3 |
||
8 | * @link |
||
9 | * @copyright 2016 LightSpeed |
||
10 | */ |
||
11 | |||
12 | global $customizer_colour_names; |
||
13 | global $customizer_colour_choices; |
||
14 | |||
15 | $customizer_colour_names = apply_filters( 'lsx_customizer_colour_names', array( |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
16 | 'button_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
17 | 'button_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
18 | 'button_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
19 | 'button_text_color_hover' => esc_html__( 'Text (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
20 | 'button_shadow' => esc_html__( 'Shadow', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
21 | |||
22 | 'button_cta_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
23 | 'button_cta_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
24 | 'button_cta_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
25 | 'button_cta_text_color_hover' => esc_html__( 'Text (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
26 | 'button_cta_shadow' => esc_html__( 'Shadow', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
27 | |||
28 | 'button_secondary_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
29 | 'button_secondary_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
30 | 'button_secondary_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
31 | 'button_secondary_text_color_hover' => esc_html__( 'Text (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
32 | 'button_secondary_shadow' => esc_html__( 'Shadow', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
33 | |||
34 | 'button_tertiary_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
35 | 'button_tertiary_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
36 | 'button_tertiary_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
37 | 'button_tertiary_text_color_hover' => esc_html__( 'Text (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
38 | 'button_tertiary_shadow' => esc_html__( 'Shadow', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
39 | |||
40 | 'top_menu_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
41 | 'top_menu_link_color' => esc_html__( 'Link', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
42 | 'top_menu_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
43 | 'top_menu_icon_color' => esc_html__( 'Icon', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
44 | 'top_menu_icon_hover_color' => esc_html__( 'Icon (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
45 | 'top_menu_dropdown_color' => esc_html__( 'Dropdown', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
46 | 'top_menu_dropdown_hover_color' => esc_html__( 'Dropdown (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
47 | 'top_menu_dropdown_link_color' => esc_html__( 'Dropdown link', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
48 | 'top_menu_dropdown_link_hover_color' => esc_html__( 'Dropdown link (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
49 | |||
50 | 'header_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
51 | 'header_link_color' => esc_html__( 'Link', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
52 | 'header_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
53 | 'header_description_color' => esc_html__( 'Description', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
54 | |||
55 | 'main_menu_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
56 | 'main_menu_link_color' => esc_html__( 'Link', 'lsx-customizer' ), |
||
57 | 'main_menu_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ), |
||
58 | 'main_menu_dropdown_background_color' => esc_html__( 'Dropdown', 'lsx-customizer' ), |
||
59 | 'main_menu_dropdown_background_hover_color' => esc_html__( 'Dropdown (hover)', 'lsx-customizer' ), |
||
60 | 'main_menu_dropdown_link_color' => esc_html__( 'Dropdown link', 'lsx-customizer' ), |
||
61 | 'main_menu_dropdown_link_hover_color' => esc_html__( 'Dropdown link (hover)', 'lsx-customizer' ), |
||
62 | |||
63 | 'banner_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
64 | 'banner_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
65 | 'banner_text_image_color' => esc_html__( 'Text (over image)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
66 | 'banner_breadcrumb_background_color' => esc_html__( 'Breadcrumb Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
67 | 'banner_breadcrumb_text_color' => esc_html__( 'Breadcrumb Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
68 | 'banner_breadcrumb_text_selected_color' => esc_html__( 'Breadcrumb Text (selected)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
69 | |||
70 | 'background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
71 | 'body_line_color' => esc_html__( 'Line', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
72 | 'body_text_heading_color' => esc_html__( 'Text (heading)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
73 | 'body_text_small_color' => esc_html__( 'Text (small)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
74 | 'body_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
75 | 'body_link_color' => esc_html__( 'Link', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
76 | 'body_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
77 | 'body_section_full_background_color' => esc_html__( 'Section full (background)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
78 | 'body_section_full_text_color' => esc_html__( 'Section full (text)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
79 | 'body_section_full_link_color' => esc_html__( 'Section full (link)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
80 | 'body_section_full_link_hover_color' => esc_html__( 'Section full (link hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
81 | 'body_section_full_cta_background_color' => esc_html__( 'Section full CTA (background)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
82 | 'body_section_full_cta_text_color' => esc_html__( 'Section full CTA (text)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
83 | 'body_section_full_cta_link_color' => esc_html__( 'Section full CTA (link)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
84 | 'body_section_full_cta_link_hover_color' => esc_html__( 'Section full CTA (link hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
85 | |||
86 | 'footer_cta_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
87 | 'footer_cta_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
88 | 'footer_cta_link_color' => esc_html__( 'Link', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
89 | 'footer_cta_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
90 | |||
91 | 'footer_widgets_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
92 | 'footer_widgets_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
93 | 'footer_widgets_link_color' => esc_html__( 'Link', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
94 | 'footer_widgets_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
95 | |||
96 | 'footer_background_color' => esc_html__( 'Background', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
97 | 'footer_text_color' => esc_html__( 'Text', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
98 | 'footer_link_color' => esc_html__( 'Link', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
99 | 'footer_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
100 | ) ); |
||
0 ignored issues
–
show
For multi-line function calls, the closing parenthesis should be on a new line.
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line: someFunctionCall(
$firstArgument,
$secondArgument,
$thirdArgument
); // Closing parenthesis on a new line.
![]() |
|||
101 | |||
102 | $customizer_colour_choices = apply_filters( 'lsx_customizer_colour_choices', array( |
||
0 ignored issues
–
show
|
|||
103 | 'default' => array( |
||
104 | 'label' => __( 'Default', 'lsx-customizer' ), |
||
105 | 'colors' => apply_filters( 'lsx_customizer_colour_choices_default', array( |
||
0 ignored issues
–
show
|
|||
106 | 'button_background_color' => '#418AD0', |
||
0 ignored issues
–
show
|
|||
107 | 'button_background_hover_color' => '#367DC0', |
||
0 ignored issues
–
show
|
|||
108 | 'button_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
109 | 'button_text_color_hover' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
110 | 'button_shadow' => '#27639E', |
||
0 ignored issues
–
show
|
|||
111 | |||
112 | 'button_cta_background_color' => '#F7AE00', |
||
0 ignored issues
–
show
|
|||
113 | 'button_cta_background_hover_color' => '#EDA700', |
||
0 ignored issues
–
show
|
|||
114 | 'button_cta_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
115 | 'button_cta_text_color_hover' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
116 | 'button_cta_shadow' => '#AB7800', |
||
0 ignored issues
–
show
|
|||
117 | |||
118 | 'button_secondary_background_color' => '#EAEAEA', |
||
0 ignored issues
–
show
|
|||
119 | 'button_secondary_background_hover_color' => '#CCCCCC', |
||
0 ignored issues
–
show
|
|||
120 | 'button_secondary_text_color' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
121 | 'button_secondary_text_color_hover' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
122 | 'button_secondary_shadow' => '#C4C4C4', |
||
0 ignored issues
–
show
|
|||
123 | |||
124 | 'button_tertiary_background_color' => '#6BA913', |
||
0 ignored issues
–
show
|
|||
125 | 'button_tertiary_background_hover_color' => '#649E12', |
||
0 ignored issues
–
show
|
|||
126 | 'button_tertiary_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
127 | 'button_tertiary_text_color_hover' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
128 | 'button_tertiary_shadow' => '#3F640B', |
||
0 ignored issues
–
show
|
|||
129 | |||
130 | 'top_menu_background_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
131 | 'top_menu_link_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
132 | 'top_menu_link_hover_color' => '#D93A3A', |
||
0 ignored issues
–
show
|
|||
133 | 'top_menu_icon_color' => '#D93A3A', |
||
0 ignored issues
–
show
|
|||
134 | 'top_menu_icon_hover_color' => '#D93A3A', |
||
0 ignored issues
–
show
|
|||
135 | 'top_menu_dropdown_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
136 | 'top_menu_dropdown_hover_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
137 | 'top_menu_dropdown_link_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
138 | 'top_menu_dropdown_link_hover_color' => '#D93A3A', |
||
0 ignored issues
–
show
|
|||
139 | |||
140 | 'header_background_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
141 | 'header_link_color' => '#D84E2E', |
||
0 ignored issues
–
show
|
|||
142 | 'header_link_hover_color' => '#F7AE00', |
||
0 ignored issues
–
show
|
|||
143 | 'header_description_color' => '#434343', |
||
0 ignored issues
–
show
|
|||
144 | |||
145 | 'main_menu_background_color' => '#FFFFFF', |
||
146 | 'main_menu_link_color' => '#515151', |
||
147 | 'main_menu_link_hover_color' => '#418AD0', |
||
148 | 'main_menu_dropdown_background_color' => '#374750', |
||
149 | 'main_menu_dropdown_background_hover_color' => '#2B3840', |
||
150 | 'main_menu_dropdown_link_color' => '#FFFFFF', |
||
151 | 'main_menu_dropdown_link_hover_color' => '#418AD0', |
||
152 | |||
153 | 'banner_background_color' => '#2B3840', |
||
0 ignored issues
–
show
|
|||
154 | 'banner_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
155 | 'banner_text_image_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
156 | 'banner_breadcrumb_background_color' => '#374750', |
||
0 ignored issues
–
show
|
|||
157 | 'banner_breadcrumb_text_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
158 | 'banner_breadcrumb_text_selected_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
159 | |||
160 | 'background_color' => '#F6F6F6', |
||
0 ignored issues
–
show
|
|||
161 | 'body_line_color' => '#DADDDF', |
||
0 ignored issues
–
show
|
|||
162 | 'body_text_heading_color' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
163 | 'body_text_small_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
164 | 'body_text_color' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
165 | 'body_link_color' => '#418AD0', |
||
0 ignored issues
–
show
|
|||
166 | 'body_link_hover_color' => '#F7AE00', |
||
0 ignored issues
–
show
|
|||
167 | 'body_section_full_background_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
168 | 'body_section_full_text_color' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
169 | 'body_section_full_link_color' => '#418AD0', |
||
0 ignored issues
–
show
|
|||
170 | 'body_section_full_link_hover_color' => '#F7AE00', |
||
0 ignored issues
–
show
|
|||
171 | 'body_section_full_cta_background_color' => '#418AD0', |
||
0 ignored issues
–
show
|
|||
172 | 'body_section_full_cta_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
173 | 'body_section_full_cta_link_color' => '#374750', |
||
0 ignored issues
–
show
|
|||
174 | 'body_section_full_cta_link_hover_color' => '#F7AE00', |
||
0 ignored issues
–
show
|
|||
175 | |||
176 | 'footer_cta_background_color' => '#2B3840', |
||
0 ignored issues
–
show
|
|||
177 | 'footer_cta_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
178 | 'footer_cta_link_color' => '#418AD0', |
||
0 ignored issues
–
show
|
|||
179 | 'footer_cta_link_hover_color' => '#367DC0', |
||
0 ignored issues
–
show
|
|||
180 | |||
181 | 'footer_widgets_background_color' => '#374750', |
||
0 ignored issues
–
show
|
|||
182 | 'footer_widgets_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
183 | 'footer_widgets_link_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
184 | 'footer_widgets_link_hover_color' => '#F7AE00', |
||
0 ignored issues
–
show
|
|||
185 | |||
186 | 'footer_background_color' => '#2B3840', |
||
0 ignored issues
–
show
|
|||
187 | 'footer_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
188 | 'footer_link_color' => '#F7AE00', |
||
0 ignored issues
–
show
|
|||
189 | 'footer_link_hover_color' => '#CE9100', |
||
0 ignored issues
–
show
|
|||
190 | ) ), |
||
0 ignored issues
–
show
For multi-line function calls, the closing parenthesis should be on a new line.
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line: someFunctionCall(
$firstArgument,
$secondArgument,
$thirdArgument
); // Closing parenthesis on a new line.
![]() |
|||
191 | ), |
||
192 | // 'red' => array( |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
193 | // 'label' => __( 'Red', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
194 | // 'colors' => apply_filters( 'lsx_customizer_colour_choices_red', array( |
||
0 ignored issues
–
show
|
|||
195 | // 'button_background_color' => '#b64d3f', |
||
0 ignored issues
–
show
|
|||
196 | // 'button_background_hover_color' => '#87291c', |
||
0 ignored issues
–
show
|
|||
197 | // 'button_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
198 | // 'button_text_color_hover' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
199 | // 'button_shadow' => '#87291c', |
||
0 ignored issues
–
show
|
|||
200 | |||
201 | // 'button_cta_background_color' => '#f7941d', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
202 | // 'button_cta_background_hover_color' => '#f7741d', |
||
0 ignored issues
–
show
|
|||
203 | // 'button_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
204 | // 'button_cta_text_color_hover' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
205 | // 'button_cta_shadow' => '#f7741d', |
||
0 ignored issues
–
show
|
|||
206 | |||
207 | // 'button_secondary_background_color' => '#EAEAEA', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
208 | // 'button_secondary_background_hover_color' => '#CCCCCC', |
||
0 ignored issues
–
show
|
|||
209 | // 'button_secondary_text_color' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
210 | // 'button_secondary_text_color_hover' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
211 | // 'button_secondary_shadow' => '#C4C4C4', |
||
0 ignored issues
–
show
|
|||
212 | |||
213 | // 'button_tertiary_background_color' => '#6BA913', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
214 | // 'button_tertiary_background_hover_color' => '#649E12', |
||
0 ignored issues
–
show
|
|||
215 | // 'button_tertiary_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
216 | // 'button_tertiary_text_color_hover' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
217 | // 'button_tertiary_shadow' => '#3F640B', |
||
0 ignored issues
–
show
|
|||
218 | |||
219 | // 'top_menu_background_color' => '#333333', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
220 | // 'top_menu_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
221 | // 'top_menu_link_hover_color' => '#eaa520', |
||
0 ignored issues
–
show
|
|||
222 | // 'top_menu_icon_color' => '#eaa520', |
||
0 ignored issues
–
show
|
|||
223 | // 'top_menu_icon_hover_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
224 | // 'top_menu_dropdown_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
225 | // 'top_menu_dropdown_hover_color' => '#444444', |
||
0 ignored issues
–
show
|
|||
226 | // 'top_menu_dropdown_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
227 | // 'top_menu_dropdown_link_hover_color' => '#eaa520', |
||
0 ignored issues
–
show
|
|||
228 | |||
229 | // 'header_background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
230 | // 'header_link_color' => '#b64d3f', |
||
0 ignored issues
–
show
|
|||
231 | // 'header_link_hover_color' => '#87291c', |
||
0 ignored issues
–
show
|
|||
232 | // 'header_description_color' => '#555555', |
||
0 ignored issues
–
show
|
|||
233 | |||
234 | // 'main_menu_background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
235 | // 'main_menu_link_color' => '#555555', |
||
0 ignored issues
–
show
|
|||
236 | // 'main_menu_link_hover_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
237 | // 'main_menu_dropdown_background_color' => '#b64d3f', |
||
0 ignored issues
–
show
|
|||
238 | // 'main_menu_dropdown_background_hover_color' => '#b64d3f', |
||
0 ignored issues
–
show
|
|||
239 | // 'main_menu_dropdown_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
240 | // 'main_menu_dropdown_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
241 | |||
242 | // 'banner_background_color' => '#87291c', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
243 | // 'banner_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
244 | // 'banner_text_image_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
245 | // 'banner_breadcrumb_background_color' => '#374750', |
||
0 ignored issues
–
show
|
|||
246 | // 'banner_breadcrumb_text_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
247 | // 'banner_breadcrumb_text_selected_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
248 | |||
249 | // 'background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
51% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
250 | // 'body_line_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
251 | // 'body_text_heading_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
252 | // 'body_text_small_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
253 | // 'body_text_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
254 | // 'body_link_color' => '#b64d3f', |
||
0 ignored issues
–
show
|
|||
255 | // 'body_link_hover_color' => '#87291c', |
||
0 ignored issues
–
show
|
|||
256 | // 'body_section_full_background_color' => '#b64d3f', |
||
0 ignored issues
–
show
|
|||
257 | // 'body_section_full_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
258 | // 'body_section_full_link_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
259 | // 'body_section_full_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
260 | // 'body_section_full_cta_background_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
261 | // 'body_section_full_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
262 | // 'body_section_full_cta_link_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
263 | // 'body_section_full_cta_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
264 | |||
265 | // 'footer_cta_background_color' => '#b64d3f', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
266 | // 'footer_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
267 | // 'footer_cta_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
268 | // 'footer_cta_link_hover_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
269 | |||
270 | // 'footer_widgets_background_color' => '#333333', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
271 | // 'footer_widgets_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
272 | // 'footer_widgets_link_color' => '#b64d3f', |
||
0 ignored issues
–
show
|
|||
273 | // 'footer_widgets_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
274 | |||
275 | // 'footer_background_color' => '#232222', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
51% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
276 | // 'footer_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
277 | // 'footer_link_color' => '#b64d3f', |
||
0 ignored issues
–
show
|
|||
278 | // 'footer_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
279 | // ) ), |
||
0 ignored issues
–
show
|
|||
280 | // ), |
||
281 | // 'orange' => array( |
||
282 | // 'label' => __( 'Orange', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
283 | // 'colors' => apply_filters( 'lsx_customizer_colour_choices_orange', array( |
||
0 ignored issues
–
show
|
|||
284 | // 'button_background_color' => '#fbaf3f', |
||
0 ignored issues
–
show
|
|||
285 | // 'button_background_hover_color' => '#e49435', |
||
0 ignored issues
–
show
|
|||
286 | // 'button_text_color' => '#260e03', |
||
0 ignored issues
–
show
|
|||
287 | // 'button_text_color_hover' => '#260e03', |
||
0 ignored issues
–
show
|
|||
288 | // 'button_shadow' => '#e49435', |
||
0 ignored issues
–
show
|
|||
289 | |||
290 | // 'button_cta_background_color' => '#f7941d', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
291 | // 'button_cta_background_hover_color' => '#f7741d', |
||
0 ignored issues
–
show
|
|||
292 | // 'button_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
293 | // 'button_cta_text_color_hover' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
294 | // 'button_cta_shadow' => '#f7741d', |
||
0 ignored issues
–
show
|
|||
295 | |||
296 | // 'button_secondary_background_color' => '#EAEAEA', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
297 | // 'button_secondary_background_hover_color' => '#CCCCCC', |
||
0 ignored issues
–
show
|
|||
298 | // 'button_secondary_text_color' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
299 | // 'button_secondary_text_color_hover' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
300 | // 'button_secondary_shadow' => '#C4C4C4', |
||
0 ignored issues
–
show
|
|||
301 | |||
302 | // 'button_tertiary_background_color' => '#6BA913', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
303 | // 'button_tertiary_background_hover_color' => '#649E12', |
||
0 ignored issues
–
show
|
|||
304 | // 'button_tertiary_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
305 | // 'button_tertiary_text_color_hover' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
306 | // 'button_tertiary_shadow' => '#3F640B', |
||
0 ignored issues
–
show
|
|||
307 | |||
308 | // 'top_menu_background_color' => '#333333', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
309 | // 'top_menu_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
310 | // 'top_menu_link_hover_color' => '#e4701e', |
||
0 ignored issues
–
show
|
|||
311 | // 'top_menu_icon_color' => '#e4701e', |
||
0 ignored issues
–
show
|
|||
312 | // 'top_menu_icon_hover_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
313 | // 'top_menu_dropdown_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
314 | // 'top_menu_dropdown_hover_color' => '#444444', |
||
0 ignored issues
–
show
|
|||
315 | // 'top_menu_dropdown_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
316 | // 'top_menu_dropdown_link_hover_color' => '#e4701e', |
||
0 ignored issues
–
show
|
|||
317 | |||
318 | // 'header_background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
319 | // 'header_link_color' => '#e4701e', |
||
0 ignored issues
–
show
|
|||
320 | // 'header_link_hover_color' => '#cc4800', |
||
0 ignored issues
–
show
|
|||
321 | // 'header_description_color' => '#777777', |
||
0 ignored issues
–
show
|
|||
322 | |||
323 | // 'main_menu_background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
324 | // 'main_menu_link_color' => '#555555', |
||
0 ignored issues
–
show
|
|||
325 | // 'main_menu_link_hover_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
326 | // 'main_menu_dropdown_background_color' => '#fbaf3f', |
||
0 ignored issues
–
show
|
|||
327 | // 'main_menu_dropdown_background_hover_color' => '#fbaf3f', |
||
0 ignored issues
–
show
|
|||
328 | // 'main_menu_dropdown_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
329 | // 'main_menu_dropdown_link_hover_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
330 | |||
331 | // 'banner_background_color' => '#e49435', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
332 | // 'banner_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
333 | // 'banner_text_image_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
334 | // 'banner_breadcrumb_background_color' => '#374750', |
||
0 ignored issues
–
show
|
|||
335 | // 'banner_breadcrumb_text_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
336 | // 'banner_breadcrumb_text_selected_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
337 | |||
338 | // 'background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
51% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
339 | // 'body_line_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
340 | // 'body_text_heading_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
341 | // 'body_text_small_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
342 | // 'body_text_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
343 | // 'body_link_color' => '#e4701e', |
||
0 ignored issues
–
show
|
|||
344 | // 'body_link_hover_color' => '#cc4800', |
||
0 ignored issues
–
show
|
|||
345 | // 'body_section_full_background_color' => '#fbaf3f', |
||
0 ignored issues
–
show
|
|||
346 | // 'body_section_full_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
347 | // 'body_section_full_link_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
348 | // 'body_section_full_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
349 | // 'body_section_full_cta_background_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
350 | // 'body_section_full_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
351 | // 'body_section_full_cta_link_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
352 | // 'body_section_full_cta_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
353 | |||
354 | // 'footer_cta_background_color' => '#fbaf3f', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
355 | // 'footer_cta_text_color' => '#555555', |
||
0 ignored issues
–
show
|
|||
356 | // 'footer_cta_link_color' => '#e4701e', |
||
0 ignored issues
–
show
|
|||
357 | // 'footer_cta_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
358 | |||
359 | // 'footer_widgets_background_color' => '#333333', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
360 | // 'footer_widgets_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
361 | // 'footer_widgets_link_color' => '#e4701e', |
||
0 ignored issues
–
show
|
|||
362 | // 'footer_widgets_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
363 | |||
364 | // 'footer_background_color' => '#232222', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
51% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
365 | // 'footer_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
366 | // 'footer_link_color' => '#e4701e', |
||
0 ignored issues
–
show
|
|||
367 | // 'footer_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
368 | // ) ), |
||
0 ignored issues
–
show
|
|||
369 | // ), |
||
370 | // 'green' => array( |
||
371 | // 'label' => __( 'Green', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
372 | // 'colors' => apply_filters( 'lsx_customizer_colour_choices_green', array( |
||
0 ignored issues
–
show
|
|||
373 | // 'button_background_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
374 | // 'button_background_hover_color' => '#3d4a30', |
||
0 ignored issues
–
show
|
|||
375 | // 'button_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
376 | // 'button_text_color_hover' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
377 | // 'button_shadow' => '#3d4a30', |
||
0 ignored issues
–
show
|
|||
378 | |||
379 | // 'button_cta_background_color' => '#f7941d', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
380 | // 'button_cta_background_hover_color' => '#f7741d', |
||
0 ignored issues
–
show
|
|||
381 | // 'button_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
382 | // 'button_cta_text_color_hover' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
383 | // 'button_cta_shadow' => '#f7741d', |
||
0 ignored issues
–
show
|
|||
384 | |||
385 | // 'button_secondary_background_color' => '#EAEAEA', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
386 | // 'button_secondary_background_hover_color' => '#CCCCCC', |
||
0 ignored issues
–
show
|
|||
387 | // 'button_secondary_text_color' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
388 | // 'button_secondary_text_color_hover' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
389 | // 'button_secondary_shadow' => '#C4C4C4', |
||
0 ignored issues
–
show
|
|||
390 | |||
391 | // 'button_tertiary_background_color' => '#6BA913', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
392 | // 'button_tertiary_background_hover_color' => '#649E12', |
||
0 ignored issues
–
show
|
|||
393 | // 'button_tertiary_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
394 | // 'button_tertiary_text_color_hover' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
395 | // 'button_tertiary_shadow' => '#3F640B', |
||
0 ignored issues
–
show
|
|||
396 | |||
397 | // 'top_menu_background_color' => '#333333', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
398 | // 'top_menu_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
399 | // 'top_menu_link_hover_color' => '#a5a370', |
||
0 ignored issues
–
show
|
|||
400 | // 'top_menu_icon_color' => '#a5a370', |
||
0 ignored issues
–
show
|
|||
401 | // 'top_menu_icon_hover_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
402 | // 'top_menu_dropdown_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
403 | // 'top_menu_dropdown_hover_color' => '#444444', |
||
0 ignored issues
–
show
|
|||
404 | // 'top_menu_dropdown_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
405 | // 'top_menu_dropdown_link_hover_color' => '#a5a370', |
||
0 ignored issues
–
show
|
|||
406 | |||
407 | // 'header_background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
408 | // 'header_link_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
409 | // 'header_link_hover_color' => '#3d4a30', |
||
0 ignored issues
–
show
|
|||
410 | // 'header_description_color' => '#777777', |
||
0 ignored issues
–
show
|
|||
411 | |||
412 | // 'main_menu_background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
413 | // 'main_menu_link_color' => '#555555', |
||
0 ignored issues
–
show
|
|||
414 | // 'main_menu_link_hover_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
415 | // 'main_menu_dropdown_background_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
416 | // 'main_menu_dropdown_background_hover_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
417 | // 'main_menu_dropdown_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
418 | // 'main_menu_dropdown_link_hover_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
419 | |||
420 | // 'banner_background_color' => '#3d4a30', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
421 | // 'banner_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
422 | // 'banner_text_image_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
423 | // 'banner_breadcrumb_background_color' => '#374750', |
||
0 ignored issues
–
show
|
|||
424 | // 'banner_breadcrumb_text_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
425 | // 'banner_breadcrumb_text_selected_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
426 | |||
427 | // 'background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
51% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
428 | // 'body_line_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
429 | // 'body_text_heading_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
430 | // 'body_text_small_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
431 | // 'body_text_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
432 | // 'body_link_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
433 | // 'body_link_hover_color' => '#3d4a30', |
||
0 ignored issues
–
show
|
|||
434 | // 'body_section_full_background_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
435 | // 'body_section_full_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
436 | // 'body_section_full_link_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
437 | // 'body_section_full_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
438 | // 'body_section_full_cta_background_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
439 | // 'body_section_full_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
440 | // 'body_section_full_cta_link_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
441 | // 'body_section_full_cta_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
442 | |||
443 | // 'footer_cta_background_color' => '#596b46', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
444 | // 'footer_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
445 | // 'footer_cta_link_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
446 | // 'footer_cta_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
447 | |||
448 | // 'footer_widgets_background_color' => '#333333', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
449 | // 'footer_widgets_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
450 | // 'footer_widgets_link_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
451 | // 'footer_widgets_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
452 | |||
453 | // 'footer_background_color' => '#232222', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
51% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
454 | // 'footer_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
455 | // 'footer_link_color' => '#596b46', |
||
0 ignored issues
–
show
|
|||
456 | // 'footer_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
457 | // ) ), |
||
0 ignored issues
–
show
|
|||
458 | // ), |
||
459 | // 'brown' => array( |
||
460 | // 'label' => __( 'Brown', 'lsx-customizer' ), |
||
0 ignored issues
–
show
|
|||
461 | // 'colors' => apply_filters( 'lsx_customizer_colour_choices_brown', array( |
||
0 ignored issues
–
show
|
|||
462 | // 'button_background_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
463 | // 'button_background_hover_color' => '#5b452e', |
||
0 ignored issues
–
show
|
|||
464 | // 'button_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
465 | // 'button_text_color_hover' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
466 | // 'button_shadow' => '#5b452e', |
||
0 ignored issues
–
show
|
|||
467 | |||
468 | // 'button_cta_background_color' => '#f7941d', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
469 | // 'button_cta_background_hover_color' => '#f7741d', |
||
0 ignored issues
–
show
|
|||
470 | // 'button_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
471 | // 'button_cta_text_color_hover' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
472 | // 'button_cta_shadow' => '#f7741d', |
||
0 ignored issues
–
show
|
|||
473 | |||
474 | // 'button_secondary_background_color' => '#EAEAEA', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
475 | // 'button_secondary_background_hover_color' => '#CCCCCC', |
||
0 ignored issues
–
show
|
|||
476 | // 'button_secondary_text_color' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
477 | // 'button_secondary_text_color_hover' => '#4A4A4A', |
||
0 ignored issues
–
show
|
|||
478 | // 'button_secondary_shadow' => '#C4C4C4', |
||
0 ignored issues
–
show
|
|||
479 | |||
480 | // 'button_tertiary_background_color' => '#6BA913', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
481 | // 'button_tertiary_background_hover_color' => '#649E12', |
||
0 ignored issues
–
show
|
|||
482 | // 'button_tertiary_text_color' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
483 | // 'button_tertiary_text_color_hover' => '#FFFFFF', |
||
0 ignored issues
–
show
|
|||
484 | // 'button_tertiary_shadow' => '#3F640B', |
||
0 ignored issues
–
show
|
|||
485 | |||
486 | // 'top_menu_background_color' => '#333333', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
487 | // 'top_menu_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
488 | // 'top_menu_link_hover_color' => '#dfad55', |
||
0 ignored issues
–
show
|
|||
489 | // 'top_menu_icon_color' => '#dfad55', |
||
0 ignored issues
–
show
|
|||
490 | // 'top_menu_icon_hover_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
491 | // 'top_menu_dropdown_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
492 | // 'top_menu_dropdown_hover_color' => '#444444', |
||
0 ignored issues
–
show
|
|||
493 | // 'top_menu_dropdown_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
494 | // 'top_menu_dropdown_link_hover_color' => '#dfad55', |
||
0 ignored issues
–
show
|
|||
495 | |||
496 | // 'header_background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
497 | // 'header_link_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
498 | // 'header_link_hover_color' => '#5b452e', |
||
0 ignored issues
–
show
|
|||
499 | // 'header_description_color' => '#777777', |
||
0 ignored issues
–
show
|
|||
500 | |||
501 | // 'main_menu_background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
52% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
502 | // 'main_menu_link_color' => '#555555', |
||
0 ignored issues
–
show
|
|||
503 | // 'main_menu_link_hover_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
504 | // 'main_menu_dropdown_background_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
505 | // 'main_menu_dropdown_background_hover_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
506 | // 'main_menu_dropdown_link_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
507 | // 'main_menu_dropdown_link_hover_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
508 | |||
509 | // 'banner_background_color' => '#5b452e', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
510 | // 'banner_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
511 | // 'banner_text_image_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
512 | // 'banner_breadcrumb_background_color' => '#374750', |
||
0 ignored issues
–
show
|
|||
513 | // 'banner_breadcrumb_text_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
514 | // 'banner_breadcrumb_text_selected_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
515 | |||
516 | // 'background_color' => '#ffffff', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
51% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
517 | // 'body_line_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
518 | // 'body_text_heading_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
519 | // 'body_text_small_color' => '#919191', |
||
0 ignored issues
–
show
|
|||
520 | // 'body_text_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
521 | // 'body_link_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
522 | // 'body_link_hover_color' => '#5b452e', |
||
0 ignored issues
–
show
|
|||
523 | // 'body_section_full_background_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
524 | // 'body_section_full_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
525 | // 'body_section_full_link_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
526 | // 'body_section_full_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
527 | // 'body_section_full_cta_background_color' => '#333333', |
||
0 ignored issues
–
show
|
|||
528 | // 'body_section_full_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
529 | // 'body_section_full_cta_link_color' => '#eeeeee', |
||
0 ignored issues
–
show
|
|||
530 | // 'body_section_full_cta_link_hover_color' => '#dddddd', |
||
0 ignored issues
–
show
|
|||
531 | |||
532 | // 'footer_cta_background_color' => '#8c6a45', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
533 | // 'footer_cta_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
534 | // 'footer_cta_link_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
535 | // 'footer_cta_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
536 | |||
537 | // 'footer_widgets_background_color' => '#333333', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
54% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
538 | // 'footer_widgets_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
539 | // 'footer_widgets_link_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
540 | // 'footer_widgets_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
541 | |||
542 | // 'footer_background_color' => '#232222', |
||
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
53% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. ![]() |
|||
543 | // 'footer_text_color' => '#ffffff', |
||
0 ignored issues
–
show
|
|||
544 | // 'footer_link_color' => '#8c6a45', |
||
0 ignored issues
–
show
|
|||
545 | // 'footer_link_hover_color' => '#969696', |
||
0 ignored issues
–
show
|
|||
546 | // ) ), |
||
0 ignored issues
–
show
|
|||
547 | // ), |
||
548 | ) ); |
||
0 ignored issues
–
show
For multi-line function calls, the closing parenthesis should be on a new line.
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line: someFunctionCall(
$firstArgument,
$secondArgument,
$thirdArgument
); // Closing parenthesis on a new line.
![]() |
|||
549 |