forked from UTCWeb/utc-tailwind-genesis-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
1013 lines (874 loc) · 63.6 KB
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/**
* UTC Tailwind Genesis.
*
* Based off of the Navigation Pro child theme. This file adds functions to the UTC Tailwind Genesis theme.
*
* @package UTC Tailwind Genesis
* @author Bridget Hornsby
* @license GPL-2.0-or-later
* @link https://github.com/UTCWeb/utc-tailwind-genesis-theme
*/
// Start the engine.
require_once get_template_directory() . '/lib/init.php';
//Set localization (do not remove).
add_action( 'after_setup_theme', 'utc_localization_setup' );
function utc_localization_setup() {
load_child_theme_textdomain( 'utc', get_stylesheet_directory() . '/languages' );
}
// Adds the theme helper functions.
require_once get_stylesheet_directory() . '/lib/helper-functions.php';
// Adds theme markup functions.
require_once get_stylesheet_directory() . '/lib/markup.php';
// Adds Image upload and Color select to WordPress Theme Customizer.
require_once get_stylesheet_directory() . '/lib/customizer/customize.php';
// Includes Customizer CSS.
require_once get_stylesheet_directory() . '/lib/customizer/output.php';
// Adds the title helper functions.
require_once get_stylesheet_directory() . '/lib/title-functions.php';
// Adds the image helper functions.
require_once get_stylesheet_directory() . '/lib/image-functions.php';
//add_filter( 'show_admin_bar', '__return_true' );
//Add theme supports.
add_action( 'after_setup_theme', 'utc_theme_support', 1 );
function utc_theme_support() {
$theme_supports = genesis_get_config( 'theme-supports' );
foreach ( $theme_supports as $feature => $args ) {
add_theme_support( $feature, $args );
}
}
//Add Gutenber opt-in features and styling
add_action( 'after_setup_theme', 'genesis_child_gutenberg_support' );
function genesis_child_gutenberg_support() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound -- using same in all child themes to allow action to be unhooked.
require_once get_stylesheet_directory() . '/lib/gutenberg/init.php';
}
// Register the responsive menu.
if ( function_exists( 'genesis_register_responsive_menus' ) ) {
genesis_register_responsive_menus( genesis_get_config( 'responsive-menus' ) );
}
// Remove default Genesis Child Theme Stylesheet bc it's a duplicate of the compiled css
remove_action( 'genesis_meta', 'genesis_load_stylesheet' );
// Enqueue script files
add_action( 'wp_enqueue_scripts', 'utc_enqueue_scripts_styles' );
function utc_enqueue_scripts_styles() {
$appearance = genesis_get_config( 'appearance' );
wp_enqueue_style(
genesis_get_theme_handle() . '-fonts',
$appearance['fonts-url'],
[],
genesis_get_theme_version()
);
wp_enqueue_style(
genesis_get_theme_handle() . '-icons',
$appearance['icons-url'],
[],
genesis_get_theme_version()
);
if ( genesis_is_amp() ) {
wp_enqueue_style(
genesis_get_theme_handle() . '-amp',
get_stylesheet_directory_uri() . '/lib/amp/amp.css',
[ genesis_get_theme_handle() ],
genesis_get_theme_version()
);
return; // Load no further scripts and styles on AMP pages.
}
wp_enqueue_script(
genesis_get_theme_handle() . '-global-script',
get_stylesheet_directory_uri() . '/js/global.js',
[ 'jquery' ],
genesis_get_theme_version(),
true
);
wp_enqueue_script(
'fontawesome-kit',
'https://kit.fontawesome.com/6cef20ef42.js',
false
);
wp_enqueue_style(
'google-raleway',
'https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap',
false
);
wp_enqueue_style(
'google-oswald',
'https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap',
false
);
wp_enqueue_style(
genesis_get_theme_handle() . '-compiled',
get_stylesheet_directory_uri() . '/dist/style.css',
[],
genesis_get_theme_version()
);
wp_enqueue_script(
genesis_get_theme_handle() . '-compiled',
get_stylesheet_directory_uri() . '/dist/app.js',
[ 'jquery' ],
genesis_get_theme_version(),
true );
}
/* Set content width for Gallery Mosaic */
if ( ! isset( $content_width ) )
$content_width = 880;
// Add image sizes.
add_image_size( 'teaser', 75, 75, true );
add_image_size( 'thumbnail', 150, 150, true );
add_image_size( 'medium', 300, 300, true );
add_image_size( 'featured-blog', 475, 400, true );
add_image_size( 'genesis-singular-images', 780, 400, true );
add_image_size( 'singular-full-width', 1280, 660, true );
add_image_size( 'newsletter-large', 580, 9999 ); //580 pixels wide (and unlimited height) for newsletter header image
add_image_size( 'medium-large', 610, 9999 ); //610 pixels wide (and unlimited height) for newsletter header image
add_image_size( 'large-thumbnail', 600, 600, true ); //600 pixels wide & tall for newsletter retina/thumb images
//Add featured-blog image size to Media Library.
add_filter( 'image_size_names_choose', 'utc_media_library_sizes' );
function utc_media_library_sizes( $sizes ) {
$sizes['teaser'] = __( 'Teaser - 75px by 75px', 'utc' );
$sizes['thumbnail'] = __( 'Thumbnail - 150px by 150px', 'utc' );
$sizes['medium'] = __( 'Thumbnail - 300px by 300px', 'utc' );
$sizes['featured-blog'] = __( 'Featured Blog - 475px by 400px', 'utc' );
$sizes['genesis-singular-images'] = __( 'Singular - 780px by 400px', 'utc' );
$sizes['singular-full-width'] = __( 'Singular Full - 1280px by 660px', 'utc' );
$sizes['newsletter-large'] = __( 'Large 580px wide', 'utc' );
$sizes['medium-large'] = __( 'Medium Large - 610px wide', 'utc' );
$sizes['large-thumbnail'] = __( 'Large Thumbnail - 600px by 600px', 'utc' );
return $sizes;
}
/** Adding custom Favicon */
add_filter( 'genesis_pre_load_favicon', 'custom_favicon' );
function custom_favicon( $favicon_url ) {
$favicon_powerc = get_stylesheet_directory_uri() . '/images/favicon.ico';
return $favicon_powerc;
}
//* Re-position Post Info Conditionally
function conditional_reposition() {
if ( is_front_page() || is_archive() ) {
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
remove_action( 'genesis_entry_header', 'genesis_post_info', 1 );
remove_action( 'genesis_before_entry', 'genesis_post_info', 1 );
}
}
add_action( 'genesis_entry_header', 'conditional_reposition' );
//Display Featured Image with Caption on top of the post
// @link https://sridharkatakam.com/add-featured-images-entry-single-posts-genesis/
/*NOT BACKWARDS COMPATITBLE*
function featured_post_image() {
if ( ! is_singular( 'post' ) ) {
return;
}
$image = genesis_get_image( 'format=url&size=post-image' ); // get the URL of featured image.
$thumb_id = get_post_thumbnail_id( get_the_ID() ); // get the alt text of featured image.
$alt = get_post_meta( $thumb_id, '_wp_attachment_image_alt', true );
$caption = get_post( $thumb_id )->post_excerpt; // get the caption of featured image.
$caption_html = $caption ? '<figcaption>'. $caption . '</figcaption>' : ''; // Construct the caption HTML if caption is present for the featured image..
printf( '<figure class="single-post-image wp-caption"><img src="%s" alt="%s" />%s</figure>', esc_url( $image ), $alt, $caption_html ); // display the featured image with caption (if present) beneath the image.
}
add_action( 'genesis_before_entry', 'featured_post_image', 8 );
*/
// Remove header right widget area.
unregister_sidebar( 'header-right' );
// Remove secondary sidebar.
unregister_sidebar( 'sidebar-alt' );
// Remove site layouts.
genesis_unregister_layout( 'content-sidebar-sidebar' );
genesis_unregister_layout( 'sidebar-content-sidebar' );
genesis_unregister_layout( 'sidebar-sidebar-content' );
// Reposition primary navigation menu.
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_header', 'genesis_do_nav', 12 );
remove_action( 'genesis_header', 'genesis_do_header' );
add_action( 'genesis_header', 'genesis_do_utcheader' );
// Reposition secondary navigation menu.
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'genesis_header_right', 'genesis_do_subnav', 9 );
remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
add_action( 'genesis_header', 'custom_site_title', 12 );
// Reposition the site title.
function custom_site_title() {
/*$site_title = get_bloginfo( 'name' );
$link = sprintf( '<a href="%1$s" rel="blog home">%2$s</a>', get_bloginfo( 'url' ), $site_title );
echo '<div class="custom-cta">' . $link . '</div>';*/
echo '<div class="custom-cta"><a id="schedule-cta" href="https://www.utc.edu/enrollment-management-and-student-affairs/admissions/visit" class="button text">Visit Us</a> <a id="request-cta" href="https://engagecms-100972.campusnexus.cloud/inquiry-explore-utc?_gl=1*15isba5*_gcl_aw*R0NMLjE3MjQxNzU4NTMuQ2p3S0NBandfWkMyQmhBUUVpd0FYU2dDbHNJU3dhb1N0bjVYUVU0SFd2LUJmZmhoeTZuLXNodGJhR1hxQ2pCd19hZ3h2WjlMdDVwLV9Sb0NISU1RQXZEX0J3RQ..*_gcl_au*NjE1NzA3OTE5LjE3MjQ3ODA3NTA.*_ga*MTg2ODgxODgyOC4xNzA0Mzk1NzE5*_ga_N9YHC21WM8*MTcyODY2OTY4Mi41NTUuMS4xNzI4NjcxNjYzLjU4LjAuMA..*_ga_KSFZHW1D8P*MTcyODY2OTY4Mi44OC4xLjE3Mjg2NzE2NjEuNjAuMC4w" class="button text">Request Info</a></div>';
}
add_action( 'genesis_before_content', 'archive_site_title' );
// Reposition the site title.
function archive_site_title() {
if (is_front_page()){
$site_title = get_bloginfo( 'name' );
echo '<h1 id="site-name-title" style="margin-top:0;width:100%">' . $site_title . '</h1>';
}
}
//Create custom header markup.
function genesis_do_utcheader() {
global $wp_registered_sidebars;
genesis_markup(
[
'open' => '<div class="header-first-row"><div %s><a href="https://www.utc.edu" class="logo-link" rel="home"><svg width="320px" height="47px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 350 50" style="enable-background:new 0 0 320 47;" xml:space="preserve">
<style type="text/css">
.st0{fill:#112E51;}
.st1{fill:#FFFFFF;}
.st2{fill:#FDB736;}
</style>
<title>Go to www.utc.edu</title>
<g>
<path class="st0" d="M60.5,12.2c0.1,1.3,0.1,1.5,0.4,2c0.3,0.5,0.8,0.7,1.5,0.7c0.3,0,0.3,0.1,0.3,0.3c0,0.2-0.1,0.2-0.3,0.2
c-0.1,0-0.1,0-0.8-0.1c-1.1-0.1-1.1-0.1-1.4-0.1c-0.4,0-0.5,0-1.6,0.1l-1.1,0.1c-0.2,0-0.3,0.1-0.5,0.1c-0.2,0-0.2-0.1-0.2-0.2
c0-0.3,0.1-0.3,0.4-0.3c1-0.2,1.5-0.7,1.4-2V5.5c0-0.7-0.1-0.9-0.8-0.9c-1.2,0-1.9,0.1-2.3,0.3s-0.5,0.5-0.7,1.5
C54.6,6.9,54.5,7,54.3,7s-0.3-0.1-0.3-0.3c0-0.1,0-0.1,0.1-0.4c0.1-0.2,0.1-0.2,0.1-1c0.1-0.3,0.1-0.5,0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c0.3-0.1,0.8-0.1,1-0.1c0.7,0,0.8,0.1,1.9,1.4c0.2,0.2,0.2,0.2,1.4,1.7c0.8,1,1,1.3,1.2,1.4L231.6,35.8z"
/>
<path class="st0" d="M244.4,31.8c0,7.9,3.8,13.3,9.4,13.3c2.4,0,4.7-1.1,6-2.8c1.4-1.9,2.3-5.1,2.3-8.1c0-3.6-1.2-7.2-3.3-9.6
c-1.6-1.8-4.1-3-6.6-3C247.4,21.5,244.4,25.4,244.4,31.8 M266.4,32.3c0,4.2-1.7,8.4-4.5,11c-2.2,2-5.4,3.2-9,3.2
c-8,0-13.1-5.1-13.1-13c0-3.8,1.6-7.7,4.1-9.9c2.4-2.2,5.9-3.5,9.7-3.5C261.3,20.1,266.4,25,266.4,32.3"/>
<path class="st0" d="M273.6,31.8c0,7.9,3.8,13.3,9.4,13.3c2.4,0,4.7-1.1,6-2.8c1.4-1.9,2.3-5.1,2.3-8.1c0-3.6-1.2-7.2-3.3-9.6
c-1.6-1.8-4.1-3-6.6-3C276.6,21.5,273.6,25.4,273.6,31.8 M295.6,32.3c0,4.2-1.7,8.4-4.5,11c-2.2,2-5.4,3.2-9,3.2
c-8,0-13.1-5.1-13.1-13c0-3.8,1.6-7.7,4.1-9.9c2.4-2.2,5.9-3.5,9.7-3.5C290.5,20.1,295.6,25,295.6,32.3"/>
<path class="st0" d="M321,26.1c0,0.9,0.1,1.6,0.2,2.6c0.1,0.1,0.1,0.3,0.1,0.3c0,0.3-0.2,0.5-0.6,0.5c-0.3,0-0.3-0.2-0.5-0.8
c-1-4.2-4.8-7.4-9.1-7.4c-5,0-8.3,4.3-8.3,11c0,7,3.5,12.6,7.9,12.6c1.6,0,4.3-0.9,5.4-1.7c0.7-0.5,1-1.8,1-4.1
c0-2.9-1-3.9-3.8-4.1c-0.3,0-0.6-0.2-0.6-0.5c0-0.3,0.2-0.5,0.7-0.5c0.1,0,0.3,0,0.6,0.1c1.5,0.2,2.3,0.2,4.1,0.2
c1.5,0,2.6-0.1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.3l-0.9,0.1c-0.3,0-0.5-0.2-0.5-0.5c0-0.3,0.1-0.4,0.5-0.5
c1.4-0.5,1.7-1,3.4-4.7l5-11.7c0.4-1,0.7-1.6,0.9-1.9l1.7-3.6c1.5-3.1,1.5-3.1,1.6-3.1c0.3,0,0.8,1,1.5,2.6L346,42.1z"/>
<path class="st0" d="M43.6,22.4l4.2-18.7H22.5c-4.8,0-8.4,0.6-11.1,1.9C8,7.3,5.6,10.3,4.8,14.2L0.4,33.9c-0.8,3.4-0.3,6,1.4,8.1
c2.1,2.8,6,3.9,12.7,3.9h23.9l3.3-14.6H22.1l2.1-9L43.6,22.4L43.6,22.4z"/>
<path class="st1" d="M19.3,33.5H39l-2.3,10.3H14.4c-6,0-9.4-1-11-3.1c-1.2-1.6-1.5-3.6-1-6.3l4.5-19.7c0.7-3.2,2.6-5.6,5.5-7
C14.8,6.5,18.1,6,22.6,6h22.6L42,20.2H26.7l1-4h-4.5L19.3,33.5z"/>
<path class="st2" d="M43.5,7.5L41,18.8H28.8l1-4h-7.5L17.7,35h19.7l-1.7,7.3H14.6c-7.9,0-11.9-1.5-10.5-7.6L8.5,15
c1.3-5.9,6.4-7.6,14.2-7.6L43.5,7.5L43.5,7.5z"/>
</g>
</svg></a>',
'context' => 'title-area',
]
);
genesis_markup(
[
'close' => '</div>',
'context' => 'title-area',
]
);
if ( has_action( 'genesis_header_right' ) || ( isset( $wp_registered_sidebars['header-right'] ) && is_active_sidebar( 'header-right' ) ) ) {
genesis_markup(
[
'open' => '<div %s>',
'context' => 'header-widget-area',
]
);
do_action( 'genesis_header_right' );
add_filter( 'wp_nav_menu_args', 'genesis_header_menu_args' );
add_filter( 'wp_nav_menu', 'genesis_header_menu_wrap' );
dynamic_sidebar( 'header-right' );
remove_filter( 'wp_nav_menu_args', 'genesis_header_menu_args' );
remove_filter( 'wp_nav_menu', 'genesis_header_menu_wrap' );
genesis_markup(
[
'close' => '</div></div>',
'context' => 'header-widget-area',
]
);
}
}
//Add the search icon to the header. (Must be selected in the customize child theme under Appearance.)
add_action( 'genesis_meta', 'utc_add_search_icon' );
function utc_add_search_icon() {
if ( genesis_is_amp() ) {
return;
}
$show_icon = get_theme_mod( 'utc_header_search', utc_customizer_get_default_search_setting() );
// Exit early if option set to false.
if ( ! $show_icon ) {
return;
}
add_action( 'genesis_after_header', 'utc_do_header_search_form', 1 );
add_filter( 'genesis_nav_items', 'utc_add_home_search_menu_items', 10, 2 );
add_filter( 'wp_nav_menu_items', 'utc_add_home_search_menu_items', 10, 2 );
}
//Modify the menu item output of the header menu with the Apply Now ribbon, home button and search toggle.
function utc_add_home_search_menu_items( $items, $args ) {
$search_toggle = sprintf( '<li class="menu-item home-icon-menu-item">%1$s</li><li class="menu-item search-icon-menu-item">%2$s</li><li class="menu-item ribbon-container"><div class="ribbon-wrapper">
<a href="https://www.utc.edu/apply" title="Apply Now">
<div id="menuribbon" class="ribbon" style="--color: #112e51;">
<div class="ribbon-content">
<p id="apply-now-ribbon" class="apply-now-ribbon">Apply</br>Now</p>
</div>
</div>
</a>
</div></li>',utc_get_header_home_link(), utc_get_header_search_toggle() );
if ( 'secondary' === $args->theme_location ) {
$items .= $search_toggle;
}
return $items;
}
//Hard code "I am..." and "Quick Links" buttons and append to the main menu. These links should be available on all UTC blogs.
add_filter( 'genesis_nav_items', 'add_static_nav', 10, 2 );
add_filter( 'wp_nav_menu_items', 'add_static_nav', 10, 2 );
function add_static_nav($menu, $args) {
$args = (array)$args;
if ( 'primary' !== $args['theme_location'] )
return $menu;
$follow = '<li id="menu-item-80" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-80"><a href="#" itemprop="url" class="sf-with-ul"><span itemprop="name">I am…</span> <span class="ionicons ion-md-arrow-dropdown"></span></a>
<ul class="sub-menu level-2">
<li id="menu-item-81" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-81"><a href="https://www.utc.edu/about/student-resources" itemprop="url"><span itemprop="name">…a student.</span></a></li>
<li id="menu-item-85" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-85"><a href="https://www.utc.edu/enrollment-management-and-student-affairs/veteran-and-military-affairs" itemprop="url"><span itemprop="name">…a veteran.</span></a></li>
<li id="menu-item-83" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-83"><a href="https://alumni.utc.edu/?_gl=1*17hh3no*_gcl_aw*R0NMLjE3MjQxNzU4NTMuQ2p3S0NBandfWkMyQmhBUUVpd0FYU2dDbHNJU3dhb1N0bjVYUVU0SFd2LUJmZmhoeTZuLXNodGJhR1hxQ2pCd19hZ3h2WjlMdDVwLV9Sb0NISU1RQXZEX0J3RQ..*_gcl_au*NjE1NzA3OTE5LjE3MjQ3ODA3NTA." itemprop="url"><span itemprop="name">…an alum.</span></a></li>
<li id="menu-item-84" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-84"><a href="https://www.utc.edu/enrollment-management-and-student-affairs/admissions/parents" itemprop="url"><span itemprop="name">…a parent.</span></a></li>
<li id="menu-item-82" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-82"><a href="https://www.utc.edu/about/faculty-and-staff-resources" itemprop="url"><span itemprop="name">…faculty or staff.</span></a></li>
</ul>
</li>
<li id="menu-item-68" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-68"><a href="#" itemprop="url" class="sf-with-ul"><span itemprop="name">Quick Links</span> <span class="ionicons ion-md-arrow-dropdown"></span></a>
<ul class="sub-menu level-2">
<li id="menu-item-69" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-69"><a href="https://mymocs.utc.edu/" itemprop="url"><span itemprop="name">MyMocsNet</span></a></li>
<li id="menu-item-70" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-70"><a href="https://utchattanooga.instructure.com/" itemprop="url"><span itemprop="name">Canvas</span></a></li>
<li id="menu-item-71" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-71"><a href="https://mail.google.com/a/mocs.utc.edu" itemprop="url"><span itemprop="name">Mocs Mail+</span></a></li>
<li id="menu-item-72" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-72"><a href="https://mocsyncorgs.utc.edu/" itemprop="url"><span itemprop="name">MocsSync</span></a></li>
<li id="menu-item-73" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-73"><a href="https://portal.microsoftonline.com/" itemprop="url"><span itemprop="name">O365</span></a></li>
<li id="menu-item-74" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-74"><a href="https://www.utc.edu/academic-affairs/registrar/registration-information/class-schedule" itemprop="url"><span itemprop="name">Class Schedule</span></a></li>
<li id="menu-item-75" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-75"><a href="https://www.utc.edu/enrollment-management-and-student-affairs/care" itemprop="url"><span itemprop="name">Crisis Resources</span></a></li>
<li id="menu-item-76" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-76"><a href="https://www.utc.edu/library" itemprop="url"><span itemprop="name">Library</span></a></li>
<li id="menu-item-77" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-77"><a href="https://calendar.utc.edu/" itemprop="url"><span itemprop="name">Calendar</span></a></li>
<li id="menu-item-78" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-78"><a href="https://people.utc.edu/" itemprop="url"><span itemprop="name">People Finder</span></a></li>
<li id="menu-item-79" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-79"><a href="https://explore.utc.edu/" itemprop="url"><span itemprop="name">Campus Map</span></a></li>
<li id="menu-item-80" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-80"><a href="https://www.utc.edu/information-technology/passwords" itemprop="url"><span itemprop="name">Change Password</span></a></li>
</ul>
</li>';
return $menu . $follow;
}
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
//Change "About" text in author box tggitles for single posts. (Inherited from Navigation Pro child theme.)
add_filter( 'genesis_author_box_title', 'utc_author_box_title', 10, 2 );
function utc_author_box_title( $title, $context ) {
if ( 'archive' === $context ) {
$title = ' <span itemprop="name">' . get_the_author_meta( 'display_name' ) . '</span>';
}
return $title;
}
//Modify comment author `says` text. (Inherited from Navigation Pro child theme.)
add_filter( 'comment_author_says_text', 'utc_comment_author_says_text' );
function utc_comment_author_says_text() {
return '';
}
//Modify the content limit more link markup for posts. THIS ONLY WORKS FOR "ENTRY CONTENT" Option in theme settings.
add_filter( 'get_the_content_limit', 'utc_content_limit_read_more_markup', 10, 3 );
function utc_content_limit_read_more_markup( $output, $content, $link ) {
if ( is_page_template( 'page_blog.php' ) || is_home() || is_archive() || is_search() ) {
$link = sprintf( '<a href="%s" class="more-link button text"><span>%s</span></a>', get_the_permalink(), genesis_a11y_more_link( __( 'Continue Reading', 'utc' ) ) );
}
$output = sprintf( '<p>%s …</p><p class="more-link-wrap"><span>%s</span></p>', $content, str_replace( '…', '', $link ) );
return $output;
}
//Add elipses when needed for "ENTRY EXCEPTS" option in the theme settings.
function add_elipses_excerpt_more($more) {
global $post;
return '… <p class="more-link-wrap"><span><a class="more-link button text" href="'. get_permalink($post->ID) . '"><span>' . __( 'Continue Reading', 'textdomain' ) . ' </span></a></span></p>';
}
add_filter('excerpt_more', 'add_elipses_excerpt_more');
//Add continue reading button for "ENTRY EXCEPTS" option in the theme settings.
//ADDING THE READ MORE LINK TO ALL OTHER EXCERPTS
add_filter( 'get_the_excerpt', 'excerpt_read_more_all_cases' );
function excerpt_read_more_all_cases( $text ) {
global $post;
$raw = $post->post_content;
$excerpt_length = apply_filters( 'excerpt_length', 55 );
$raw_to_more = substr( $raw, 0, strpos( $raw, '<!--more-->' ) );
$excerpt_of_raw = wp_trim_words( $raw, $excerpt_length, '');
$excerpt_of_raw_to_more = wp_trim_words( $raw_to_more, $excerpt_length, '');
// CHECKING FOR MANUALLY WRITTEN EXCERPT
if( has_excerpt() ) {
$text .= '<p class="more-link-wrap"><span><a class="more-link button text" href="'. get_permalink($post->ID) . '"><span>' . __( 'Continue Reading ', 'textdomain' ) . '</a></span></p>';
// CHECKING FOR EXCERPT BEING SHORT BY THE 'MORE TAG'
} elseif( strpos( $raw, '<!--more-->' ) && strlen( $excerpt_of_raw_to_more ) < strlen( $excerpt_of_raw ) ) {
$text .= '<p class="more-link-wrap"><span><a class="more-link button text" href="'. get_permalink($post->ID) . '">' . __( 'Continue Reading ', 'textdomain' ) . '</a></span></p>';
// CHECKING FOR EXCERPT BEING SHORT BECAUSE OIF SHORT CONTENT
} elseif( strlen( $text ) == strlen( $excerpt_of_raw ) ) {
$text .= '<p class="more-link-wrap"><span><a class="more-link button text" href="'. get_permalink($post->ID) . '">' . __( 'Continue Reading ', 'textdomain' ) . '</a></span></p>';
}
return $text;
}
//Add a paragraph tag around the WordPress more link markup. (Inherited from Navigation Pro child theme.)
add_filter( 'the_content_more_link', 'utc_wrap_more_link' );
function utc_wrap_more_link( $more ) {
return '<p class="more-link-wrap">' . $more . '</p>';
}
//Filter the output of the post date to add a wrapper like other shortcodes. (Inherited from Navigation Pro child theme.)
add_filter( 'genesis_post_date_shortcode', 'utc_custom_date_shortcode', 10, 2 );
function utc_custom_date_shortcode( $output, $atts ) {
if ( 'relative' === $atts['format'] ) {
$display = genesis_human_time_diff( get_the_time( 'U' ), current_time( 'timestamp' ), $atts['relative_depth'] ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
$display .= ' ' . __( 'ago', 'utc' );
} else {
$display = get_the_time( $atts['format'] );
}
$output = sprintf( '<span class="entry-date"><time %s>', genesis_attr( 'entry-time' ) ) . $atts['before'] . $atts['label'] . '<span class="entry-time-date">' . $display . '</span>' . $atts['after'] . '</time></span>';
return $output;
}
//Hook in before footer the UTC Dept. info and menu/map widget area.
add_action( 'genesis_before_footer', 'utc_dept_info', 1 );
function utc_dept_info() {
genesis_widget_area(
'footer-dept-info',
[
'before' => '<div id="department-info" class="department-info">',
'after' => '</div>',
]
);
}
// Add static footer map and menus.
add_action( 'genesis_footer', 'utc_custom_footer_map', 2 );
function utc_custom_footer_map() {
echo '';
}
//Override the footer copyright area to ensure consistency.
remove_action( 'genesis_footer', 'genesis_do_footer' );
//Customize the footer copyright area to show across all blogs.
add_action( 'genesis_footer', 'utc_custom_footer_content', 7 );
function utc_custom_footer_content() {
$campus_map = get_stylesheet_directory_uri() . '/images/utc-footer-map-explore.png';
$current_url = home_url( add_query_arg( [], $GLOBALS['wp']->request ) );
echo '<!--Footer menu/map begins-->
<div id="footer-menu-map" class="before-footer-menu-map"><div class="wrap"><h2 class="screen-reader-text">Explore more</h2>
<section id="footer-menus" class="widget_text widget widget_custom_html"><div class="widget_text widget-wrap"><div class="textwidget custom-html-widget"><div id="left-footer-menu" class="footer-menu">
<nav role="navigation" aria-labelledby="" class="left-footer-menu text-right">
<ul class="menu">
<li class="menu-item"> <a href="/about/student-resources" data-drupal-link-system-path="node/38451">Students</a> </li>
<li class="menu-item"> <a href="/about/faculty-and-staff-resources" data-drupal-link-system-path="node/38411">Faculty and Staff</a> </li>
<li class="menu-item"> <a href="/about/alumni-and-friends" data-drupal-link-system-path="node/38376">Alumni and Friends</a> </li>
<li class="menu-item"> <a href="/enrollment-management-and-student-affairs/admissions/parents" data-drupal-link-system-path="node/36067">Parents</a> </li>
<li class="menu-item"> <a href="/finance-and-administration/auxiliary-services/parking-services" data-drupal-link-system-path="node/1296">Parking</a> </li>
<li class="menu-item"> <a href="/about/emergency-preparedness" data-drupal-link-system-path="node/38406">Emergency Preparedness</a> </li>
<li class="menu-item"> <a href="/enrollment-management-and-student-affairs/admissions/visit" data-drupal-link-system-path="node/36137">Visit</a> </li>
</ul>
</nav>
</div>
<div id="center-footer-menu">
</div>
<div id="right-footer-menu" class="footer-menu">
<nav role="navigation" aria-labelledby="" id="" class="right-footer-menu">
<ul class="menu">
<li class="menu-item"> <a href="https://mymocs.utc.edu/">MyMocsNet</a> </li>
<li class="menu-item"> <a href="https://office.com/">O365</a> </li>
<li class="menu-item"> <a href="https://www.utc.edu/information-technology/passwords">Change Password</a> </li>
<li class="menu-item"> <a href="https://people.utc.edu/eGuide/servlet/eGuide">People Directory</a> </li>
<li class="menu-item"> <a href="https://events.utc.edu/MasterCalendar/MasterCalendar.aspx">Calendars</a> </li>
<li class="menu-item"> <a href="https://www.utc.edu/finance-and-administration/human-resources/work"> Work at UTC</a> </li>
<li class="menu-item">'.((is_user_logged_in()) ? '<a href="' . esc_url( wp_logout_url() ) . '">' . __( 'CAS Log out', 'genesis' ) . '</a>' : $link = '<a href="' . esc_url( wp_login_url() ) . '">' . __( 'CAS Log In', 'genesis' ) . '</a>').' </li>
</ul>
</nav>
</div></div></div></section>
<section id="footer-map" class="widget_text widget widget_custom_html"><div class="widget_text widget-wrap"><div class="textwidget custom-html-widget"><div id="left-footer-map">
</div>
<div id="global-footer-map">
<div class="inner-map-wrap">
<a href="https://explore.utc.edu/?id=1826#!ct/" class="campus-map"><img alt="UTC campus maps" height="405" src="'. $campus_map .'" width="361" ></a>
</div>
<ul class="utc-footer-socials">
<li class="inline horizontal px-2">
<a class="text-white hover:text-utc-links-hoverFooterIcons" href="https://www.utc.edu" target="_self" aria-label="Back to our departmental homepage" title="Back to our departmental homepage" rel="noopener">
<span class="text-white hover:text-utc-links-hoverFooterIcon fa fa-home fa-sm"></span>
</a>
</li>
<li class="inline horizontal px-2">
<a class="text-white hover:text-utc-links-hoverFooterIcons" href="https://blog.utc.edu/news/" target="_self" aria-label="Follow our Blog/News" title="Follow our Blog/News" rel="noopener">
<span class="text-white hover:text-utc-links-hoverFooterIcon fa fa-blog fa-sm"></span>
</a>
</li>
<li class="inline horizontal px-2">
<a class="text-white hover:text-utc-links-hoverFooterIcons" href="https://www.linkedin.com/school/27384/" target="_self" aria-label="Find us on LinkedIn" title="Find us on LinkedIn" rel="noopener">
<span class="text-white hover:text-utc-links-hoverFooterIcon fa fa-linkedin fa-sm"></span>
</a>
</li>
<li class="inline horizontal px-2">
<a class="text-white hover:text-utc-links-hoverFooterIcons" href="https://www.youtube.com/UTChattanooga" target="_self" aria-label="Find us on Youtube" title="Find us on Youtube" rel="noopener">
<span class="text-white hover:text-utc-links-hoverFooterIcon fa fa-youtube fa-sm"></span>
</a>
</li>
<li class="inline horizontal px-2">
<a class="text-white hover:text-utc-links-hoverFooterIcons" href="https://www.twitter.com/UTChattanooga" target="_self" aria-label="Find us on Twitter" title="Find us on Twitter" rel="noopener">
<span class="text-white hover:text-utc-links-hoverFooterIcon fa fa-twitter fa-sm"></span>
</a>
</li>
<li class="inline horizontal px-2">
<a class="text-utc-blue-500 hover:text-utc-links-hoverFooterIcons" href="https://www.instagram.com/utchattanooga" target="_self" aria-label="Find us on Instagram" title="Find us on Instagram" rel="noopener">
<span class="text-white hover:text-utc-links-hoverFooterIcon fa fa-instagram fa-sm"></span>
</a>
</li>
<li class="inline horizontal px-2">
<a class="text-white hover:text-utc-links-hoverFooterIcons" href="https://www.facebook.com/UTChattanooga" target="_self" aria-label="Find us on Facebook" title="Find us on Facebook" rel="noopener">
<span class="text-white hover:text-utc-links-hoverFooterIcon fa fa-facebook fa-sm"></span>
</a>
</li>
</ul>
</div>
<div id="right-footer-map">
</div></div></div></section>
</div></div>
<!--Copyright footer begins-->
<div class="footer-copyright-container"><div class="footer-copyright"><h2 class="screen-reader-text">UTC Copyright, Compliance and Policy Info</h2></div><div class="copyright"><p></p><div class="block"><a href="https://www.utc.edu/about/contact/" id="legal-questions">Questions?</a> © ' . date('Y') . ' University of Tennessee at Chattanooga. All rights reserved.<br>615 McCallie Avenue | Chattanooga, TN 37403 | (423) 425‑4111</div>
<div class="block"><a href="https://www.utc.edu/sexual-misconduct/index.php#title-ix-statement" id="legal-title-ix">Title IX Statement</a> | <a href="https://www.utc.edu/about/privacy.php" id="legal-privacy">Privacy Statement</a> | <a href="https://www.utc.edu/academic-affairs/accessible-information-materials-technology-program/">Accessibility</a> | <a href="https://www.utc.edu/webhelp">Web Services</a></div>
<div class="block">A comprehensive, community-engaged campus of the <a href="http://www.tennessee.edu/" id="legal-ut">University of Tennessee System</a> and partner in the <a href="https://www.tntransferpathway.org">Tennessee Transfer Pathway</a>.</div><p></p></div></div>';
}
add_action( 'after_setup_theme', 'utc_register_sidebars' );
/**
* Registers widget areas.
*/
function utc_register_sidebars() {
// Registers widget areas.
genesis_register_sidebar(
[
'id' => 'footer-dept-info',
'name' => __( 'Above the Footer: Department Information', 'utc' ),
'description' => __( 'Add your department name, address, and other information to this footer area.', 'utc' ),
]
);
}
//Allow SVG option for image uploads
function add_file_types_to_uploads($file_types){
$new_filetypes = array();
$new_filetypes['svg'] = 'image/svg+xml';
$file_types = array_merge($file_types, $new_filetypes );
return $file_types;
}
add_filter('upload_mimes', 'add_file_types_to_uploads');
//Add the category of a post as a class to the body tag.
add_filter( 'body_class', 'utc_body_class_add_categories' );
function utc_body_class_add_categories( $classes ) {
if ( !is_single() )
return $classes;
$post_categories = get_the_category();
foreach( $post_categories as $current_category ) {
$classes[] = 'category-' . $current_category->slug;
}
return $classes;
}
//If the first paragraph is selected in the child-theme-settings apply body class. *NOTE* True is the default of onboarding.
add_filter( 'body_class', 'first_paragraph_body_class' );
function first_paragraph_body_class( $classes ) {
$firstparagraph = genesis_get_option( 'utc_intro_paragraph_styling' );
if ( is_page() || is_singular() && $firstparagraph==true ) {
$classes[] = 'first-paragraph-true';
}
return $classes;
}
function custom_body_classes( $classes ) {
if ( is_page() ) {
$classes[] = 'content-type-page';
} else if ( is_page_template( 'page_blog.php' ) ) {
$classes[] = 'content-type-post';
} else if ( is_home() ){
$classes[] = 'frontpage';
} else if ( is_archive()) {
$classes[] = 'content-type-archive';
} else if ( is_search() ) {
$classes[] = 'content-type-search';
}
return $classes;
}
add_filter( 'body_class', 'custom_body_classes' );
// Wrap entry titles on 'single' pages in h1 tags
add_filter( 'genesis_entry_title_wrap', 'sk_set_custom_entry_title_wrap' );
function sk_set_custom_entry_title_wrap( $wrap ) {
if ( is_singular() ) {
$wrap = is_singular() ? 'h1' : 'h2';
}
return $wrap;
}
//* Add description to menu items
add_filter( 'widget_nav_menu', 'be_add_description', 10, 2 );
function be_add_description( $item_output, $item ) {
$description = $item->post_content;
if (' ' !== $description )
return preg_replace( '/(<a.*?>[^<]*?)</', '$1' . '<span class="menu-description">' . $description . '</span><', $item_output);
else
return $item_output;
}
// Add go to the top button
add_action( 'genesis_before', 'genesis_to_top');
function genesis_to_top() {
echo '<a href="#0" class="to-top" title="Back To Top"><i class="fa fa-angle-up fa-5x"></i></a>';
}
//Wrap articles in archives in a div
add_action ('genesis_before_content', 'articles_archive_wrapper');
function articles_archive_wrapper() {
if (is_category() || is_tag() || is_archive() || is_search() || is_home() ){
add_action ('genesis_before_loop', 'articles_open_wrapper');
add_action ('genesis_after_loop', 'articles_close_wrapper');
}
}
function articles_open_wrapper() {
echo '<div class="articles-wrapper">';
}
function articles_close_wrapper() {
echo '</div>';
}
remove_action( 'genesis_after_endwhile', 'genesis_posts_nav' );
add_action( 'genesis_after_content', 'genesis_posts_nav' );
//Remove the feature image in search results.
if ( is_search() ){
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
}
// Reposition the breadcrumbs.
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
add_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_breadcrumbs' );
//Modify the breadcrumbs with a separator.
add_filter( 'genesis_breadcrumb_args', 'utc_breadcrumb_args' );
function utc_breadcrumb_args( $args ) {
$args['labels']['prefix'] = '';
$args['sep'] = '<span class="separator" aria-label="breadcrumb separator">/</span>';
return $args;
}
add_filter('wp_nav_menu_objects' , 'my_menu_class');
function my_menu_class($menu) {
$level = 0;