` background' ),
78 | 'section' => 'static_background',
79 | 'settings' => 'spine_options[jacket_background_url]',
80 | //'context' => 'your_setting_context'
81 | )
82 | )
83 | );
84 |
85 | /**
86 | * Define a default palette that we'll use for some of the colors.
87 | *
88 | * We could certainly define a separate palette for each color also.
89 | */
90 | $palette = array(
91 | 'rgba(255, 0, 0, 0.7)',
92 | 'rgba(54, 0, 170, 0.8)',
93 | '#FFCC00',
94 | 'rgba( 20, 20, 20, 0.8 )',
95 | '#00CC77',
96 | );
97 |
98 | /**
99 | * Define our color settings under the group "Background Colors".
100 | *
101 | * This is one of the arrays that we'll pass to our helper function to
102 | * register each setting and group them under a single control.
103 | */
104 | $bg_colors = array(
105 | 'background_color' => array(
106 | 'label' => __( 'Body Background' ),
107 | 'default' => 'rgba(255, 0, 0, 0.7)',
108 | 'palette' => $palette, // This could also be true or false
109 | ),
110 | 'primary_accent_color' => array(
111 | 'label' => __( 'Primary Accent Color' ),
112 | 'palette' => $palette, // This could also be true or false
113 | 'description' => 'The primary color will alter areas like the top borders. The classes to use:
Background :
primary-accent-bk Text :
primary-accent-text',
114 |
115 | ),
116 |
117 | 'secoundary_accent_color' => array(
118 | 'label' => __( 'Secoundary Accent Color' ),
119 |
120 | 'palette' => $palette, // This could also be true or false
121 | 'description' => 'The primary color will alter areas like the top borders. The classes to use:
Background :
secoundary-accent-bk Text :
secoundary-accent-text',
122 | ),
123 | 'header_color' => array(
124 | 'label' => __( 'Page Header Color' ),
125 | 'palette' => $palette, // This could also be true or false
126 | 'description' => '',
127 | ),
128 | 'header_text_color' => array(
129 | 'label' => __( 'Header Text Color' ),
130 | 'palette' => $palette, // This could also be true or false'description' => 'The primary color will alter areas like the top borders. The classes to use:
Background :
secoundary-accent-bk Text :
secoundary-accent-text',
131 | ),
132 | /*'header_bg' => array(
133 | 'label' => __( 'Header Background'),
134 | 'default' => 'rgba(54, 0, 170, 0.8)',
135 | 'palette' => $palette,
136 | ),
137 | 'sidebar_bg' => array(
138 | 'label' => __( 'Sidebar Background' ),
139 | 'default' => '#FFCC00',
140 | 'palette' => $palette,
141 | ),
142 | 'article_bg' => array(
143 | 'label' => __( 'Article Background'),
144 | 'default' => 'rgba( 20, 20, 20, 0.8 )',
145 | 'palette' => $palette,
146 | ),
147 | 'footer_bg' => array(
148 | 'label' => __( 'Footer Background'),
149 | 'default' => '#00CC77',
150 | 'palette' => $palette,
151 | ),*/
152 | );
153 |
154 | /**
155 | * Set up the array of standard control data.
156 | *
157 | * This could also have an active_callback, a sanitize_callback, etc.
158 | */
159 | $bg_colors_control_data = array(
160 | 'label' => __( 'Theme Color palette' ),
161 | 'description' => __( '
The class to use the colors are in the format of `block_name-type_name`.
type_name is the element\'s part.
type_name is the element\'s part. Values supported are `bk` for background amd `text` for text.
This means for the "Secoundary Accent Color" color for the text block would be
secoundary-accent-text' ),
162 | 'section' => 'static_background',
163 | );
164 |
165 | /**
166 | * Use the helper function to register the group of settings and associate them with
167 | * a single Multi Color Picker control.
168 | */
169 | components_register_color_group(
170 | $wp_customize,
171 | 'spine_options',
172 | $bg_colors,
173 | $bg_colors_control_data,
174 | $palette,
175 | 'postMessage'
176 | );
177 |
178 | $wp_customize->add_setting( 'spine_options[is_dev_mode]', array(
179 | 'default' => 'false',
180 | 'capability' => 'edit_theme_options',
181 | 'type' => 'option',
182 | ) );
183 | $wp_customize->add_control( 'is_dev_mode', array(
184 | 'label' => __( 'Use `stage.`\'s Development Mode' ),
185 | 'section' => 'static_background',
186 | 'settings' => 'spine_options[is_dev_mode]',
187 | 'type' => 'select',
188 | 'description' => 'As much as possible pull everything from
https://webcore.fais.wsu.edu under
resources/central_FnA_theme/dev/wordpress/',
189 | 'choices' => array(
190 | 'true' => 'true',
191 | 'false' => 'false',
192 | ),
193 | ) );
194 |
195 | $wp_customize->add_section( 'static_background', array(
196 | 'title' => __( 'FAIS theme settings', 'static_background' ),
197 | ) );
198 | $wp_customize->add_setting( 'spine_options[background_url]', array(
199 | 'default' => false,
200 | 'capability' => 'edit_theme_options',
201 | 'type' => 'option',
202 | ) );
203 |
204 | $wp_customize->add_setting( 'spine_options[contact_streetAddress2]', array(
205 | 'default' => '',
206 | 'capability' => 'edit_theme_options',
207 | 'type' => 'option',
208 | ) );
209 | $wp_customize->add_control( 'contact_streetAddress2', array(
210 | 'label' => false,
211 | 'section' => 'section_spine_contact',
212 | 'settings' => 'spine_options[contact_streetAddress2]',
213 | 'type' => 'text',
214 | 'priority' => 411,
215 | 'input_attrs' => array(
216 | //'class' => 'my-custom-class-for-js',
217 | //'style' => 'border: 1px solid #900',
218 | 'placeholder' => __( 'e.g. Suite 111' ),
219 | ),
220 | ) );
221 |
222 | $wp_customize->add_setting( 'spine_options[contact_verbal_location]', array(
223 | 'default' => '',
224 | 'capability' => 'edit_theme_options',
225 | 'type' => 'option',
226 | ) );
227 | $wp_customize->add_control( 'contact_verbal_location', array(
228 | 'label' => __( 'Verbal Location' ),
229 | 'section' => 'section_spine_contact',
230 | 'settings' => 'spine_options[contact_verbal_location]',
231 | 'type' => 'text',
232 | 'priority' => 412,
233 | 'input_attrs' => array(
234 | //'class' => 'my-custom-class-for-js',
235 | //'style' => 'border: 1px solid #900',
236 | 'placeholder' => __( 'e.g. walk in and turn right' ),
237 | ),
238 | ) );
239 | /*$wp_customize->add_control( 'spine_options[front_page_title]', array(
240 | 'label' => 'Show title on front page',
241 | 'section' => 'static_background',
242 | 'settings' => 'spine_options[front_page_title]',
243 | 'type' => 'checkbox',
244 | 'active_callback' => function() { return 'page' == get_option( 'show_on_front' ); },
245 | ) );*/
246 |
247 | // Pagebuilder + Flexwork options
248 | $wp_customize->add_setting( 'spine_options[flexwork_coverage]', array(
249 | 'default' => 'devices-lite',
250 | 'capability' => 'edit_theme_options',
251 | 'type' => 'option',
252 | ) );
253 | $wp_customize->add_control( 'flexwork_coverage', array(
254 | 'label' => __( 'Flexworks width set' ),
255 | 'section' => '_flexwork',
256 | 'settings' => 'spine_options[flexwork_coverage]',
257 | 'type' => 'select',
258 | 'description' => '
',
259 | 'choices' => array(
260 | 'lite' => 'the 5 most common viewport widths',
261 | 'devices-lite' => 'top 10 device widths',
262 | 'devices' => '(fullest) most current device widths',
263 | '50s' => 'increments of 50px plus full devices',
264 | '25s' => 'increments of 25px plus full devices',
265 | ),
266 | ) );
267 |
268 | // Pagebuilder + Flexwork options
269 | $wp_customize->add_setting( 'spine_options[column_type_default]', array(
270 | 'default' => '',
271 | 'capability' => 'edit_theme_options',
272 | 'type' => 'option',
273 | ) );
274 | $wp_customize->add_control( 'column_type_default', array(
275 | 'label' => __( 'Column content treatment default' ),
276 | 'section' => '_flexwork',
277 | 'settings' => 'spine_options[column_type_default]',
278 | 'type' => 'select',
279 | 'description' => 'How to you want to treat the children of the column?',
280 | 'choices' => array(
281 | '' => 'inherit',
282 | 'flex-colmun' => 'Stacked',
283 | 'flex-row' => 'In line',
284 | ),
285 | ) );
286 |
287 | $wp_customize->add_setting( 'spine_options[fw_column_width_default]', array(
288 | 'default' => 'fourths-4',
289 | 'capability' => 'edit_theme_options',
290 | 'type' => 'option',
291 | ) );
292 | $wp_customize->add_control( 'fw_column_width_default', array(
293 | 'label' => __( 'Column width default' ),
294 | 'section' => '_flexwork',
295 | 'settings' => 'spine_options[fw_column_width_default]',
296 | 'type' => 'text',
297 | 'priority' => 412,
298 | 'input_attrs' => array(
299 | //'class' => 'my-custom-class-for-js',
300 | //'style' => 'border: 1px solid #900',
301 | 'placeholder' => __( 'e.g. walk in and turn right' ),
302 | ),
303 | ) );
304 |
305 | $wp_customize->add_setting( 'spine_options[fw_column_response_width_default]', array(
306 | 'default' => 'full-width-at-667',
307 | 'capability' => 'edit_theme_options',
308 | 'type' => 'option',
309 | ) );
310 | $wp_customize->add_control( 'fw_column_response_width_default', array(
311 | 'label' => __( 'Column width default when at 667px viewport' ), // would build later
312 | 'section' => '_flexwork',
313 | 'settings' => 'spine_options[fw_column_response_width_default]',
314 | 'type' => 'text',
315 | 'priority' => 412,
316 | 'input_attrs' => array(
317 | //'class' => 'my-custom-class-for-js',
318 | //'style' => 'border: 1px solid #900',
319 | 'placeholder' => __( 'e.g. walk in and turn right' ),
320 | ),
321 | ) );
322 |
323 | $wp_customize->add_section( '_flexwork', array(
324 | 'title' => __( 'Flexwork' ),
325 | ) );
326 |
327 | }
328 | }
329 | new Fais_Spine_Theme_Customizer();
330 |
331 |
332 |
333 |
334 | /**
335 | * Helper function for registering a group of color settings.
336 | *
337 | * @param Object $wp_customize The main Customizer object.
338 | * @param String $option_name The shared option name to use for the settings.
339 | * @param Array $color_settings The array of color settings data.
340 | * @param Array $control_data The data to pass to the control.
341 | * @param Array $fallback_palette An array of fallback palette colors to use if a palette is not included in $color_settings. (optional)
342 | * @param String $transport The transport method for the setting group.
343 | */
344 | function components_register_color_group( $wp_customize, $option_name, $color_settings = array(), $control_data = array(), $fallback_palette = 'true', $transport = 'refresh' ) {
345 |
346 | /**
347 | * Loop over the colors array and register each setting while also building
348 | * the color_settings and color_data arrays that we'll send to the control.
349 | */
350 | foreach ( $color_settings as $setting_name => $setting_data ) {
351 |
352 | // For this example we'll store all of our colors in a single settings array,
353 | // which requires using the setting type "option". We could also use the
354 | // setting type "theme_mod" by giving each setting its own unique option key.
355 | $color_setting_id = $option_name . "[{$setting_name}]";
356 |
357 | // Make default, palette, and show_opacity optional by providing fallbacks here.
358 | $setting_data['default'] = ( isset( $setting_data['default'] ) ) ? $setting_data['default'] : '#000000';
359 | $setting_data['palette'] = ( isset( $setting_data['palette'] ) ) ? $setting_data['palette'] : $fallback_palette;
360 | $setting_data['show_opacity'] = ( isset( $setting_data['show_opacity'] ) ) ? $setting_data['show_opacity'] : 'true';
361 |
362 | // Register the current setting.
363 | // This still needs a proper sanitize_callback.
364 | $wp_customize->add_setting(
365 | $color_setting_id,
366 | array(
367 | 'default' => $setting_data['default'],
368 | 'type' => 'option',
369 | 'capability' => 'edit_theme_options', // Modify this as needed.
370 | 'transport' => $transport, // postMessage or refresh
371 | )
372 | );
373 |
374 | // Build the simple array that contains only the color setting names.
375 | // We'll pass this as the "settings" value to our control.
376 | $settings[] = $color_setting_id;
377 |
378 | // Build the more advanced color_data array that contains all the extra information
379 | // we need for each color setting. We'll pass this to our control.
380 | $color_data[ $color_setting_id ] = array(
381 | 'label' => $setting_data['label'],
382 | 'default' => $setting_data['default'],
383 | 'show_opacity' => $setting_data['show_opacity'],
384 | 'palette' => $setting_data['palette'],
385 | );
386 | }
387 |
388 | /**
389 | * Add our arrays to $control_data
390 | */
391 | $control_data['settings'] = $settings;
392 | $control_data['color_data'] = $color_data;
393 |
394 | /**
395 | * Register the Multi Color Control.
396 | */
397 | $wp_customize->add_control(
398 | new Customize_Multi_Color_Control(
399 | $wp_customize,
400 | $option_name,
401 | $control_data
402 | )
403 | );
404 |
405 | }
406 |
--------------------------------------------------------------------------------
/css/scss/parts/content.scss:
--------------------------------------------------------------------------------
1 |
2 | body{
3 | overflow-y: scroll; // since we can detect the scrollbar via CSS then we make it be there in window to use in math
4 | }
5 |
6 | .home header.main-header {
7 | display: none;
8 | }
9 | #binder{
10 | position:relative;
11 | box-shadow: rgb(0, 0, 0) 0 -.2rem 2.9rem;
12 | }
13 |
14 | main {
15 | background: #dedede;
16 | padding-bottom: 3.4rem;
17 | }
18 |
19 | address {
20 | margin: 15px 15px 15px 25px;
21 | font-style: italic;
22 | }
23 | // temp check that it is still needed
24 | .nice-number>dd:before, .nice-number>li:before{
25 | left: -2rem;
26 | }
27 |
28 |
29 | .nice-table {
30 | border-bottom: .2rem solid #393939 !important;
31 | margin-bottom: .8rem;
32 |
33 | }
34 |
35 | .nice-table.head > * {
36 | counter-reset: nt_head_counter;
37 | counter-increment: nt_head_counter;
38 | }
39 | .nice-table:not(.head) > * {
40 | width: calc( (1 / counter(nt_head_counter)) * 100% );
41 | }
42 |
43 | .nice-table > * {
44 | counter-increment: row_counter;
45 | content: counter(nn_counter) "";
46 | }
47 |
48 | .nice-table > :last-child {
49 | border-right: none;
50 | text-align: left;
51 | }
52 |
53 |
54 |
55 | //auto header
56 | #content_area > .column-section > .grid-part > h1, #content_area > .column-section > .grid-part > h2 {
57 | box-shadow: none !important;
58 | box-sizing: border-box;
59 | position: relative;
60 | padding: 0 !important;
61 | margin-bottom: 1rem !important;
62 | }
63 |
64 | #content_area, .content_less [id^='builder-section']{
65 | box-shadow: inset 0 0 .5rem .2rem rgba(50,50,50,.15);
66 | border: 1px solid rgba(241, 241, 241, 0.89);
67 | box-sizing: border-box;
68 | color:#292929;
69 | z-index: 2;
70 | font-size: 1.2rem;
71 | position: relative;
72 | border-radius: .5rem;
73 | //padding: .5rem;
74 | }
75 |
76 | // added till content is edited
77 | [data-type="faiswsuwpsingle"].column-section.flex-row.items-start {
78 | padding: 1.5rem;
79 | }
80 |
81 | [data-type="faiswsuwpsingle"].column-section.flex-row.items-start>.pad-tight,
82 | [data-type="faiswsuwpsingle"].column-section.flex-row.items-start>.flex-column {
83 | padding: 0;
84 | }
85 |
86 |
87 | #content_area{
88 | margin: .5rem 1.5rem;
89 | }
90 | .content_less {
91 | padding: .5rem 1.5rem;
92 | }
93 |
94 | .banner-section h2,
95 | .banner-section span,
96 | .banner-section a,
97 |
98 | .banner-section .cycle-pager > .cycle-pager-active
99 | .banner-section .cycle-pager > span:nth-of-type(2) {
100 | text-shadow: 0 0 5px rgba(41,41,41,0.9), 0 0 10px rgba(41,41,41,0.9);
101 | }
102 |
103 | #content_area, [id^='builder-section'].row, [id$=""]:not(#content_area) [id^='builder-section'].flex-row, .content_less [id^='builder-section'] {margin-top: 3.7rem;}
104 | .type-page > .banner-section + #content_area {margin-top: -3.5rem;}
105 |
106 | .ie.ie9 .type-page > .banner-section + #content_area {margin-top:0;}
107 | /*[data-useragent*="Windows NT 6.1"] .nice-number > dd::before,[data-useragent*="Windows NT 6.1"] .nice-number > li::before{
108 | padding:0.5rem 0 0 0.465rem;
109 | }
110 |
111 | [data-useragent*="Windows NT 6.1"] .nice-number>dd::before, [data-useragent*="Windows NT 6.1"] .nice-number>li::before {
112 | padding: .12rem 0 0 .495rem;
113 | }*/
114 | [data-useragent*="Windows NT 6.1"][data-useragent*="Trident"] .nice-number>dd::before,
115 | [data-useragent*="Windows NT 6.1"][data-useragent*="Trident"] .nice-number>li::before {
116 | padding: .7rem 0 0 .465rem !important;
117 | }
118 |
119 | .type-page>section.banner-section {
120 | margin-top: 74px;
121 | }
122 |
123 | #content_area > .banner-section{ overflow-y:hidden; padding:0; }
124 | #content_area > .banner-section > .banner-column > .builder-section-content > .builder-banner-slide,
125 | #content_area > .banner-section > .banner-column > .builder-section-content.cycle-slideshow .builder-banner-slide {
126 | border-radius: .5rem;
127 | border-bottom-left-radius: 0;
128 | border-bottom-right-radius: 0;
129 | box-shadow: inset 0 0 .5rem .2rem rgba(50,50,50,.15);
130 | border: 1px solid rgba(241, 241, 241, 0.89);
131 | margin-bottom: -1rem;
132 | }
133 | //builder-banner-slide
134 | /*#content_area > .banner-section > .banner-column > .builder-section-content.cycle-slideshow::after,
135 | #content_area > .banner-section > .banner-column > .builder-section-content:not(.cycle-slideshow) .builder-banner-slide.first-slide::after,
136 | #content_area > .banner-section > .banner-column > .builder-section-content.cycle-slideshow::after{
137 | padding: 0 0 0 3px;
138 | width: 100%;
139 | box-shadow: inset 0 -4px 5px 2px rgba(50,50,50,.75);
140 | }*/
141 | .builder-banner-inner-content {
142 | display: -webkit-box;
143 | display: -webkit-flex;
144 | display: -ms-flexbox;
145 | display: flex;
146 | -webkit-box-flex: 1;
147 | -webkit-flex: 1;
148 | -ms-flex: 1;
149 | flex: 1;
150 | -webkit-box-orient: vertical;
151 | -webkit-box-direction: normal;
152 | -webkit-flex-direction: column;
153 | -ms-flex-direction: column;
154 | flex-direction: column;
155 | -webkit-box-pack: flex-end;
156 | -webkit-justify-content: flex-end;
157 | -ms-flex-pack: flex-end;
158 | justify-content: flex-end;
159 | overflow: hidden;
160 | font-size: 1rem;
161 | vertical-align: end;
162 | margin-bottom: 4rem;
163 | >div{
164 | background: -moz-radial-gradient(center, ellipse cover, rgba(28,5,5,0.4) 0%, rgba(30,12,5,0.47) 7%, rgba(33,21,6,0.4) 15%, rgba(33,21,6,0.35) 20%, rgba(33,21,6,0) 63%); /* FF3.6-15 */
165 | background: -webkit-radial-gradient(center, ellipse cover, rgba(28,5,5,0.4) 0%,rgba(30,12,5,0.47) 7%,rgba(33,21,6,0.4) 15%,rgba(33,21,6,0.35) 20%,rgba(33,21,6,0) 63%); /* Chrome10-25,Safari5.1-6 */
166 | background: radial-gradient(ellipse at center, rgba(28,5,5,0.4) 0%,rgba(30,12,5,0.47) 7%,rgba(33,21,6,0.4) 15%,rgba(33,21,6,0.35) 20%,rgba(33,21,6,0) 63%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
167 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#661c0505', endColorstr='#00211506',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
168 | }
169 | }
170 | #content_area > [data-type="faiswsuwpsingle"] {
171 | overflow:hidden;
172 | box-sizing: border-box;
173 | color: #292929;
174 | z-index: 2;
175 | position: relative;
176 | border-radius: .7rem;
177 | border-bottom-right-radius: 0;
178 | border-bottom-left-radius: 0;
179 | }
180 | #content_area > [data-type="faiswsuwpsingle"] > .grid-part:not(.pad-airy) {
181 | padding: 0;
182 | }
183 | #content_area > [data-type="faiswsuwpsingle"] > .grid-part:not(.pad-tight) {
184 | padding: 0;
185 | }
186 |
187 | #content_area > .column-section > .grid-part > h1,
188 | #content_area > .column-section > .grid-part > h2 {
189 | box-shadow: inset 0 0 .5rem .2rem rgba(50,50,50,.15);
190 | //border: 1px solid rgba(241, 241, 241, 0.89);
191 | box-sizing: border-box;
192 | position: relative;
193 | padding: .5rem 1.5rem 1.2rem 1.5rem;
194 | margin-bottom: -.4rem;
195 | }
196 | .column-section div header{
197 | width:100%;
198 | }
199 |
200 |
201 | body.home:not(.has-background-image) #jacket {
202 | background-position: center bottom;
203 | background-repeat: no-repeat;
204 | }
205 | .style-bookmark .main-header {
206 | background: #981e32;
207 | position: relative;
208 | top: 0;
209 | left: 0;
210 | width: 100%;
211 | border: 0;
212 | height: auto;
213 | }
214 |
215 | //.home .style-bookmark .main-header { display:none; }
216 | :nth-child(1).sup-header-default {
217 | font-size: 35px;
218 | margin-top: 1.5rem;
219 | }
220 | #content_area, .content_less [id^=builder-section], [id$=""]:not(#content_area) [id^=builder-section].flex-row, [id^=builder-section].row {
221 | margin-top: calc(3.7rem + 6rem);
222 | }
223 |
224 | [data-type="banner"] + #content_area {
225 | margin-top: calc(3.7rem + 5rem);
226 | }
227 |
228 | body #binder header.main-header {
229 | display: block;
230 | position: fixed;
231 | top: 0;
232 | left: inherit;
233 | z-index: 8;
234 | background: none;
235 | width: calc( 100% - (100vw - 100.7rem) );
236 | }
237 | _::-webkit-full-page-media, _:future, :root body #binder header.main-header{
238 | width: calc( 100% - (100vw - 99rem) );
239 | }
240 |
241 | [data-useragent*="Firefox"] body #binder header.main-header {
242 | width: calc( 100% - (100vw - 99rem) );
243 | }
244 |
245 | .main-header .header-group {
246 | padding: 2rem 0 1.1rem 1.3rem;
247 | background-color: rgba(60,133,216,0.62);
248 | max-width: 100%;
249 | }
250 |
251 | span.sub-header-default {
252 | font-size: 2.3rem;
253 | font-weight: 700;
254 | padding-bottom: 0.2rem;
255 | margin-top: -0.7rem;
256 | }
257 | :nth-child(1).sup-header-default,
258 | :nth-child(1).sup-header-default a,
259 | :nth-child(1).sup-header-default span {
260 | font-size: 1.6rem;
261 | margin-top: 1.5rem;
262 | }
263 |
264 | body div#border_top {
265 | background: #1122a3;
266 | height: 1.3rem;
267 | position: fixed;
268 | top: 0;
269 | width: calc(100% - (100vw - 120.5rem));
270 | z-index: 9;
271 | }
272 |
273 | _::-webkit-full-page-media, _:future, :root body div#border_top {
274 | width: calc(100% - (100vw - 118.8rem));
275 | }
276 | [data-useragent*="Firefox"] body div#border_top {
277 | width: calc(100% - (100vw - 118.8rem));
278 | }
279 |
280 | .flex-row > img {
281 | height:100%;
282 | }
283 |
284 | dl.flex-row, ol.flex-row, ul.flex-row{
285 | margin: 0;
286 | }
287 | @media screen and (max-width: 693px){
288 | .type-page>section.banner-section {
289 | margin-top: 0px;
290 | }
291 | div#content_area {margin-top: 15px;}
292 | }
293 |
294 | @media (min-width: 668px ) and (max-width: 989px){
295 | .main-header .header-group{
296 | top:5rem;
297 | }
298 | }
299 | @media (max-width: 989px){
300 | .opensansy .main-header sup.sub-header[data-sitename]{
301 | font-size:1.2rem;
302 | }
303 | }
304 | @media (max-width: 667px){
305 | body #binder main header.main-header {
306 | position: relative;
307 | }
308 | .main-header .header-group{
309 | top: 0;
310 | }
311 | }
312 | @media (max-width: 810px){
313 | body div#border_top,
314 | body #binder header.main-header {
315 | width: 100%;
316 | }
317 | }
318 | @media (min-width: 811px ) and (max-width: 989px){
319 | body div#border_top,
320 | body #binder header.main-header {
321 | width: calc( 100% - (100vw - 80.9rem) );
322 | }
323 | _::-webkit-full-page-media, _:future, :root body #binder header.main-header {
324 | width: calc( 100% - (100vw - 79.2rem) );
325 | }
326 | _::-webkit-full-page-media, _:future, :root body div#border_top {
327 | width: calc( 100% - (100vw - 79.2rem) );
328 | }
329 | [data-useragent*="Firefox"] body #binder header.main-header,// {
330 | //width: calc( 100% - (100vw - 79.2rem) );
331 | //}
332 | [data-useragent*="Firefox"] body div#border_top {
333 | width: calc( 100% - (100vw - 79.2rem) );
334 | }
335 |
336 | }
337 | @media only screen and (max-width: 693px){
338 | #binder.fluid main, #binder.hybrid main {
339 | margin-top: 30px;
340 | }
341 | }
342 | @media (min-width: 990px ) and (max-width: 1007px){
343 | body div#border_top,
344 | body #binder header.main-header {
345 | width: 100%;
346 | }
347 | }
348 |
349 |
350 | @media (min-width: 1008px ) and (max-width: 1187px){
351 | body #binder header.main-header {
352 | width: calc( 100% - (100vw - 80.9rem) );
353 | }
354 | _::-webkit-full-page-media, _:future, :root body #binder header.main-header { //iOS has no scroll bar ``/
355 | width: calc( 100% - (100vw - 79.2rem) );
356 | }
357 | [data-useragent*="Firefox"] body #binder header.main-header { //iOS has no scroll bar ``/
358 | width: calc( 100% - (100vw - 79.2rem) );
359 | }
360 | body div#border_top {
361 | width: calc( 100% - (100vw - 100.7rem) );
362 | }
363 | _::-webkit-full-page-media, _:future, :root body div#border_top {
364 | width: calc( 100% - (100vw - 99rem) );
365 | }
366 | [data-useragent*="Firefox"] body div#border_top {
367 | width: calc( 100% - (100vw - 99rem) );
368 | }
369 | }
370 |
371 | #binder:after, .clearfix:after, .rebound:after, .row:not(.clear-none):after, main:after {
372 | clear: both;
373 | top: 0;
374 | }
375 |
376 | #footer{
377 | margin: 0 .5rem 1.3rem 2.5rem;
378 | //font-size: 1.4rem;
379 | }
380 | #footer ul li{
381 | display:inline-block;
382 | }
383 |
384 | main h1,.page h1.article-title{
385 | font-weight:900;
386 | //font-size: 2.5rem;
387 | padding: 0;
388 | margin: 0;
389 | margin-bottom: 1rem;
390 | }
391 |
392 | main h2{
393 | font-weight:700;
394 | //font-size:2rem;
395 | padding:0;
396 | margin: 0;
397 | margin-bottom: .8rem;
398 | }
399 | main .h4, main h4 {
400 | //font-size: 1.48rem;//!important;
401 | }
402 |
403 | main p,main a {
404 | //font-size: 1.2rem;
405 | }
406 |
407 | main h3 {
408 | //font-size: 1.1rem;//!important;
409 | }
410 |
411 | div#side_right {
412 | background: rgba(136, 136, 136, 0.45);
413 | color: #4A4A4A;
414 | box-shadow: inset 0 0 .5rem .2rem rgba(50,50,50,.15);
415 | border: 1px solid rgba(241, 241, 241, 0.89);
416 | }
417 | div#side_left {
418 | background: rgba(186,186,186,0.45);
419 | box-shadow: inset 0 0 .5rem .2rem rgba(50,50,50,.15);
420 | border: 1px solid rgba(241, 241, 241, 0.89);
421 | }
422 | div#side_left h2{
423 | font-size: 1.7rem;
424 | font-weight: 600;
425 | border-bottom: 1px solid #333;
426 | }
427 |
428 | div#side_left ul, div#side_right ul{
429 | padding: 0 0 0 1.5rem;
430 | margin: 0.65rem 0;
431 | }
432 |
433 | div#side_left ul li, div#side_right ul li{
434 | font-size: 1.1rem;
435 | font-weight: 400;
436 | line-height: 1.1rem;
437 | margin-bottom: .25rem;
438 | padding: 0 0 .25rem 0;
439 | color: #4A4A4A;
440 | }
441 | div#side_right h3{
442 | font-size: 1.5rem;
443 | font-weight: 600;
444 | color: #272727;
445 | border-bottom: .1rem solid #272727;
446 | }
447 | div#side_right h4{
448 | font-size: 1.5em;
449 | font-weight: 600;
450 | color: #272727;
451 | }
452 |
453 | #new_home_page{
454 | background: rgba(186,186,186,0.45);
455 | }
456 | #new_home_page h3{
457 | font-size: 2rem;
458 | font-weight: 600;
459 | border-bottom: .1rem solid;
460 | margin-bottom: .5rem;
461 | }
462 | #new_home_page h4{
463 | font-size: 1.7rem;
464 | font-weight: 400;
465 | font-style: italic;
466 | margin-bottom: .5rem;
467 | padding: 0;
468 | border-bottom: .4rem solid;
469 | }
470 | .news-highlight-img{
471 | display: inline-block;
472 | /*float: left;*/
473 | margin-right: 1rem;
474 | margin-bottom: .7rem;
475 | }
476 | .inline-img {
477 | width: auto;
478 | height: 1em; // to be at line height of content it is in.
479 | vertical-align: middle;
480 | margin-top: -2px;
481 | padding: 0 2px;
482 | }
483 | #new_home_page p{
484 | //font-size: 1rem;
485 | font-weight:400;
486 | font-style: italic;
487 | }
488 | span#fake_img {
489 | display: block;
490 | float: left;
491 | width: 25.8rem;
492 | height: 18.5rem;
493 | background: #1571B5;
494 | }
495 |
496 | div#border_top {
497 | background: #1122a3;
498 | height: 1.3rem;
499 | position: absolute;
500 | top: 0;
501 | width: 100%;
502 | z-index: 9;
503 | }
504 | div#border_top:before {
505 | background: #A8A8A8;
506 | height: .7rem;
507 | position: absolute;
508 | top: 1.7rem;
509 | width: 100%;
510 | z-index: 9;
511 | content:"";
512 | }
513 | div#border_bottom {
514 | background: #1122a3;
515 | height: 1.3rem;
516 | position: absolute;
517 | bottom: 0;
518 | width: 100%;
519 | z-index: 9;
520 | }
521 | div#border_bottom:before {
522 | background: #A8A8A8;
523 | height: .7rem;
524 | position: absolute;
525 | bottom: 1.7rem;
526 | width: 100%;
527 | z-index: 9;
528 | content:"";
529 | }
530 | main .spine-blank-template {
531 | width: 40rem;
532 | background-color: #F2F2F3;
533 | }
534 |
535 |
536 |
537 | .contact-us div {
538 | padding: 0;
539 | }
540 |
541 |
542 | /* @todo fix this, from hotfix */
543 | main a:hover {
544 | color: black;
545 | }
546 |
547 | /* framework typography overrides */
548 | h4 a[href^=mailto]:not(.not-autostyle) {
549 | padding: 0 .5rem 0 2.6rem;
550 | }
551 |
552 | h4 a[href^=mailto]:not(.not-autostyle):before {
553 | top: .47rem;
554 | }
555 |
556 | #shelve {
557 | height: 40px;
558 | box-shadow: none;
559 | }
560 |
561 | .spine-actions button {
562 | box-shadow: none;
563 | }
564 |
565 | #spine.dark #shelve, #spine.dark #shelve:after, #spine.dark #shelve:before,
566 | #spine.darker #shelve, #spine.darker #shelve:after, #spine.darker #shelve:before {
567 | box-sizing: unset;
568 | }
569 |
570 | .ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content.ui-corner-all {
571 | left: 11px !important;
572 | width: 180px !important;
573 | }
574 |
575 | .spine-search input.ui-autocomplete-input[type=text] {
576 | font-size: 1.15em;
577 | color: #717171;
578 | background-color: transparent;
579 | border-radius: 0;
580 | padding: 0;
581 | text-indent: 0;
582 | height: 1.55em;
583 | width: 100%;
584 | margin: 2px 0 0;
585 | border: none;
586 | box-shadow: none;
587 | border-bottom: 1px #b6bcbf solid;
588 | }
589 |
--------------------------------------------------------------------------------
/functions.php:
--------------------------------------------------------------------------------
1 | ' . "\n";
52 | }
53 |
54 | }
55 | add_action( 'wp_head', 'add_meta_tags' , 2 );
56 |
57 |
58 | add_action( 'wp_enqueue_scripts', 'fais_customizer_enqueue_jQueryUICSS', 20 );
59 | /**
60 | * Enqueue the styles and scripts used inside the Customizer.
61 | */
62 | function fais_customizer_enqueue_jQueryUICSS() {
63 |
64 | $is_dev_mode = fais_spine_get_option( 'is_dev_mode', 'false' ); // yeah wil come base to case correctly, in rush ``/ lol
65 | $flex_dev = '';
66 | if ( 'true' === $is_dev_mode || is_development() ) {
67 | $flex_dev = 'dev/';
68 | }
69 | //will add picker and alt path shortly, just need it out.
70 | wp_enqueue_style( 'jQueryUICSS', '//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css', array(), '1.12.1' );
71 | }
72 |
73 |
74 | add_action( 'wp_enqueue_scripts', 'fais_customizer_enqueue_scripts', 21 );
75 | /**
76 | * Enqueue the styles and scripts used inside the Customizer.
77 | */
78 | function fais_customizer_enqueue_scripts() {
79 | wp_dequeue_style( 'spine-theme' );
80 | wp_dequeue_style( 'spine-theme-extra' );
81 | wp_dequeue_style( 'spine-theme-child' );
82 | wp_dequeue_style( 'spine-theme-print' );
83 | /**
84 | * we remove the enqueued styles as they didn't have an order to them that we could work with
85 | * also we know this is a child theme so no need to check.
86 | */
87 |
88 | $script_version = spine_get_script_version();
89 | $stylesheet_uri = get_stylesheet_directory_uri();
90 |
91 | $is_dev_mode = fais_spine_get_option( 'is_dev_mode', 'false' ); // yeah wil come base to case correctly, in rush ``/ lol
92 | $flex_dev = '';
93 | if ( 'true' === $is_dev_mode || is_development() ) {
94 | $flex_dev = 'dev/';
95 | }
96 | //will add picker and alt path shortly, just need it out.
97 | wp_enqueue_style( 'jQueryUICSS', '//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css', array( 'wsu-spine' ), '1.12.1' );
98 | wp_enqueue_style( 'fais_spine-theme', get_template_directory_uri() . '/style.css', array( 'jQueryUICSS' ), $script_version );
99 |
100 | if ( 'skeletal' !== spine_get_option( 'theme_style' ) ) {
101 | wp_enqueue_style( 'fais_spine-theme-extra', get_template_directory_uri() . '/styles/' . spine_get_option( 'theme_style' ) . '.css', array( 'fais_spine-theme' ), $script_version );
102 | }
103 |
104 | if ( apply_filters( 'spine_child_min_css', false ) ) {
105 | $child_stylesheet = 'style.min.css';
106 | } else {
107 | $child_stylesheet = 'style.css';
108 | }
109 |
110 | wp_enqueue_style( 'fais_spine-theme-print', get_template_directory_uri() . '/css/print.css', array( 'fais_spine-theme' ), spine_get_script_version(), 'print' );
111 |
112 | wp_deregister_style( 'open-sans' );
113 | wp_enqueue_style( 'open-sans', '//fonts.googleapis.com/css?family=Open+Sans:100,200,300,400,500,600,700,800,900', array(), false );
114 |
115 | // All theme styles have been output at this time. Plugins and other themes should print styles here, before blocking
116 | // Javascript resources are output.
117 | do_action( 'spine_enqueue_styles' );
118 |
119 | $coverage = fais_spine_get_option( 'flexwork_coverage', 'devices-lite' );
120 |
121 | $megamenu_show = fais_spine_get_option( 'megamenu_show', 'true' );
122 |
123 | /*wp_enqueue_style( 'flexwork-base', 'https://webcore.fais.wsu.edu/resources/flexwork/'.$flex_dev .'flexwork-'.$coverage.'.css', array( 'fais_spine-theme-print' ), spine_get_script_version() );
124 | wp_enqueue_style( 'flexwork-typography', 'https://webcore.fais.wsu.edu/resources/flexwork/'.$flex_dev .'extra/flexwork-typography.css', array( 'flexwork-base' ), spine_get_script_version() );
125 | wp_enqueue_style( 'flexwork-ui', 'https://webcore.fais.wsu.edu/resources/flexwork/'.$flex_dev .'extra/flexwork-ui.css', array( 'flexwork-typography' ), spine_get_script_version() );*/
126 | $vendor_path = '//webcore.fais.wsu.edu/resources/wsu.global.ns/0.1.0/vendors/';
127 | $flexed_path = '//webcore.fais.wsu.edu/resources/flexed/0.3.0/';
128 | $icons_path = $vendor_path . 'fontawesome/5.0.0-rc2/css/';
129 | $theme_path = '//webcore.fais.wsu.edu/resources/central_FnA_theme/'.$flex_dev; // default to over write
130 |
131 | wp_enqueue_style( 'vendors-bootstrap', $vendor_path . 'bootstrap/dist/css/bootstrap.min.css', array( 'fais_spine-theme-print' ), $script_version );
132 | wp_enqueue_style( 'vendors-bootstrap-dialog', $vendor_path . 'bootstrap3-dialog/dist/css/bootstrap-dialog.min.css', array( 'fais_spine-theme-print' ), $script_version );
133 |
134 | wp_enqueue_style( 'vendors-icons-solid', $icons_path . 'fontawesome-pro-solid.css', array( 'fais_spine-theme-print' ), $script_version );
135 | wp_enqueue_style( 'vendors-icons-light', $icons_path . 'fontawesome-pro-light.css', array( 'fais_spine-theme-print' ), $script_version );
136 | wp_enqueue_style( 'vendors-icons-regular', $icons_path . 'fontawesome-pro-regular.css', array( 'fais_spine-theme-print' ), $script_version );
137 | wp_enqueue_style( 'vendors-icons-core', $icons_path . 'fontawesome-pro-core.css', array( 'fais_spine-theme-print' ), $script_version );
138 |
139 | wp_enqueue_style( 'flexed-typography', $flexed_path . 'extra/flexed-typography.css', array( 'fais_spine-theme-print' ), $script_version );
140 | wp_enqueue_style( 'flexed-ui', $flexed_path . 'extra/flexed-ui.css', array( 'fais_spine-theme-print' ), $script_version );
141 | wp_enqueue_style( 'flexed-datatables', $flexed_path . 'extra/datatables/dataTables.flexed.css', array( 'fais_spine-theme-print' ), $script_version );
142 | wp_enqueue_style( 'flexed-custom', $flexed_path . 'custom.css', array( 'fais_spine-theme-print' ), $script_version );
143 | if ( 'true' === $is_dev_mode ) {//fal fa-exclamation-square
144 | if ( false !== strpos( $_SERVER['HTTP_HOST'],'wp.wsu.dev' ) ) {
145 | wp_enqueue_style( 'fais_spine-theme-child', $stylesheet_uri . '/' . $child_stylesheet, array( 'flexed-custom' ), $script_version );
146 | } else {
147 | wp_enqueue_style( 'fais_spine-theme-child', $theme_path . '/wordpress/fin-ad-base-theme/style.css', array( 'flexed-custom' ), $script_version );
148 | }
149 | } else {
150 | wp_enqueue_style( 'fais_spine-theme-child', $stylesheet_uri . '/' . $child_stylesheet, array( 'flexed-custom' ), $script_version );
151 | }
152 |
153 | wp_enqueue_script( 'tether', $flexed_path . 'extra/tether.min.js', array( 'jquery' ), $script_version, true );
154 | wp_enqueue_script( 'drop', $flexed_path . 'extra/drop.min.js', array( 'tether' ), $script_version, true );
155 |
156 | if ( 'true' === $is_dev_mode ) {
157 | if ( false !== strpos( $_SERVER['HTTP_HOST'],'wp.wsu.dev' ) ) {
158 | wp_enqueue_script( 'child_controll', $stylesheet_uri . '/js/child_controll.js', array( 'jquery' ), $script_version, true );
159 | } else {
160 | wp_enqueue_script( 'child_controll', $theme_path . '/wordpress/fin-ad-base-theme/js/child_controll.js', array( 'jquery' ), $script_version, true );
161 | }
162 | } else {
163 | wp_enqueue_script( 'child_controll', $stylesheet_uri . '/js/child_controll.js', array( 'jquery' ), $script_version, true );
164 | }
165 |
166 | wp_enqueue_script( 'html2canvas', $stylesheet_uri . '/js/html2canvas.js', array( 'jquery' ), $script_version, true );
167 |
168 | $fais_site_object = array(
169 | 'local' => array(
170 | 'title' => get_bloginfo( 'name' ),
171 | ),
172 | 'parents' => [ [] ],
173 | );
174 | wp_localize_script( 'wsu-spine', 'fais_site_object', $fais_site_object );
175 |
176 | // for now we will hack this out but the goal is that when on local that you pull the menu system from the web
177 | $dev = '';
178 | if ( false !== strpos( $_SERVER['HTTP_HOST'],'wp.wsu.dev' ) ) {
179 | $dev = 'dev/';
180 | }
181 |
182 | $theme_path = '//webcore.fais.wsu.edu/resources/central_FnA_theme/'.$dev; // default to over write
183 | if ( 'true' === $megamenu_show ) {
184 | wp_enqueue_script( 'megamenu', $theme_path . '/megamenu/bootstrap.js', array( 'html2canvas' ), $script_version, true );
185 | }
186 | }
187 |
188 | function filter_ptags_on_images( $content ) {
189 | return preg_replace( '/
\s*()?\s*(
)\s*(<\/a>)?\s*<\/p>/iU', '\1\2\3', $content );
190 | }
191 | add_filter( 'the_content', 'filter_ptags_on_images' );
192 |
193 |
194 | function fais_spine_get_option( $option_name, $default = '' ) {
195 | $spine_options = get_option( 'spine_options' );
196 |
197 | if ( isset( $spine_options[ $option_name ] ) ) {
198 | // A child theme can override a specific spine option with the spine_option filter.
199 | $spine_options[ $option_name ] = apply_filters( 'spine_option', $spine_options[ $option_name ], $option_name );
200 | return $spine_options[ $option_name ];
201 | } else {
202 | return $default;
203 | }
204 | }
205 |
206 |
207 | // will refactor in to this later in crunch mode
208 | class WSU_FinAd_BaseTheme
209 | {
210 | /**
211 | * @var WSU_FinAd_BaseTheme
212 | */
213 | private static $instance;
214 |
215 | /**
216 | * Maintain and return the one instance and initiate hooks when
217 | * called the first time.
218 | *
219 | * @return \WSU_FinAd_BaseTheme
220 | */
221 | public static function getInstance() {
222 |
223 | if ( ! isset( self::$instance ) ) {
224 | self::$instance = new WSU_FinAd_BaseTheme;
225 | }
226 | return self::$instance;
227 | }
228 |
229 | public function __construct() {
230 | add_action( 'init', array( $this, 'theme_menus' ), 10, 1 );
231 | }
232 |
233 | /**
234 | * Setup the default navigation menus used in the Spine.
235 | */
236 | public function theme_menus() {
237 | register_nav_menus(
238 | array(
239 | 'fais_global' => 'Global',
240 | )
241 | );
242 |
243 | // If the Global Menu doesn't exist, let's create it
244 | if ( ! is_nav_menu( 'global-menu' ) ) {
245 |
246 | // Create menu
247 | $menu_id = wp_create_nav_menu( 'Global Menu' );
248 |
249 | // Add menu items
250 | wp_update_nav_menu_item( $menu_id, 0, array(
251 | 'menu-item-title' => __( 'Contact Us' ),
252 | 'menu-item-url' => home_url( '/contact-information/' ),
253 | 'menu-item-status' => 'publish',
254 | ) );
255 |
256 | wp_update_nav_menu_item( $menu_id, 0, array(
257 | 'menu-item-title' => __( 'Where are we Located' ),
258 | 'menu-item-url' => home_url( '/located-at/' ),
259 | 'menu-item-status' => 'publish',
260 | ) );
261 |
262 | wp_update_nav_menu_item( $menu_id, 0, array(
263 | 'menu-item-title' => __( 'Give Feedback' ),
264 | 'menu-item-url' => '#',
265 | 'menu-item-status' => 'publish',
266 | 'menu-item-classes' => ' inline-form ',
267 | ) );
268 |
269 | wp_update_nav_menu_item( $menu_id, 0, array(
270 | 'menu-item-title' => __( 'Home Page' ),
271 | 'menu-item-url' => 'https://baf.wsu.edu',
272 | 'menu-item-attr-title' => 'F-n-A-Home-Page',
273 | 'menu-item-status' => 'publish',
274 | ) );
275 |
276 | // Lower case theme_name
277 | $theme = strtolower( str_replace( ' ', '_', wp_get_theme() ) );
278 |
279 | $locations = get_theme_mod( 'nav_menu_locations' );
280 | $locations['fais_global'] = $menu_id;
281 | // Update the theme options
282 | set_theme_mod( 'nav_menu_locations', $locations );
283 |
284 | }
285 | }
286 | }
287 | add_action( 'after_setup_theme', 'finAdBaseTheme' );
288 | /**
289 | * Start things up.
290 | *
291 | * @return \WSU_FinAd_BaseTheme
292 | */
293 | function finAdBaseTheme() {
294 | return WSU_FinAd_BaseTheme::getInstance();
295 | }
296 |
297 |
298 |
299 | add_action( 'wp_head','background_hook_css', 21 );
300 |
301 | function background_hook_css() {
302 | // best would be to creat a css file on type save to better cache
303 |
304 | $background_url = fais_spine_get_option( 'background_url', false );
305 | $background_color = fais_spine_get_option( 'background_color', '#9bbdf5' );
306 | $secoundary_accent_color = fais_spine_get_option( 'secoundary_accent_color', '#1122a3' );
307 | $primary_accent_color = fais_spine_get_option( 'primary_accent_color', '#1122a3' );
308 | $header_color = fais_spine_get_option( 'header_color', '#981e32' );
309 | $header_text_color = fais_spine_get_option( 'header_text_color', '#FFF' );
310 | $jacket_background_url = fais_spine_get_option( 'jacket_background_url', false );
311 |
312 | ?>
335 | .*)', array(
371 | 'methods' => WP_REST_Server::READABLE,
372 | 'callback' => 'wsuwp_search_serve_route',
373 | ) );
374 | }
375 |
376 | /**
377 | * Generate results for the /wp-json/myplugin/v1/foo route.
378 | *
379 | * @param WP_REST_Request $request Full details about the request.
380 | *
381 | * @return WP_REST_Response|WP_Error The response for the request.
382 | */
383 | function wsuwp_search_serve_route( WP_REST_Request $request ) {
384 | $items = array(); //do a query, call another class, etc
385 | $data = array();
386 | $params = $request->get_params();
387 | $args = array( 's' => $params['name_startsWith'] );
388 |
389 | $loop = new WP_Query( $args );
390 | $suggestions = array();
391 |
392 | while ( $loop->have_posts() ) {
393 | $loop->the_post();
394 | $suggestion = array();
395 | $suggestion['label'] = get_the_title();
396 | $suggestion['value'] = get_permalink();
397 | $suggestion['searchKeywords'] = '';
398 | $suggestion['related'] = 'true';
399 |
400 | $suggestions[] = (object) $suggestion;
401 | }
402 |
403 | return new WP_REST_Response( $suggestions, 200 );
404 | }
405 |
--------------------------------------------------------------------------------
20 | ' . get_the_title() . '' ); 23 | ?> 24 |
25 | 26 |27 | 'ol', 30 | 'short_ping' => true, 31 | 'avatar_size' => 0, 32 | ) ); 33 | ?> 34 |
35 | 36 | 1 && get_option( 'page_comments' ) ) : 39 | ?> 40 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |