This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
forked from UWAA/uwaa-2014
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-u-s-huskies.php
118 lines (63 loc) · 2.7 KB
/
page-u-s-huskies.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
<?php
use \UWAA\View\ThumbnailBrowser\Thumbnail\Chapters;
get_header();
wp_enqueue_script(array('USHuskiesMap', 'chapterAccordionOpener'));
wp_enqueue_style('mapbox');
wp_localize_script( 'mapbox', 'homeLink',
array(
'endpointURL' => apply_filters('remove_cms', home_url('/api/communities/geojson'))
)
);
$communitiesSidebarMenu = $UWAA->UI->buildCommunitySidebar();
?>
<div class="uw-hero-image communities"></div>
<div class="container uw-body">
<div class="row">
<div class="col-md-8 uw-content" role='main'>
<h2 class="uw-site-title">Communities</h2>
<div class="uw-body-copy">
<?php get_template_part('partials/sidebar', 'page-breadcrumbs') ?>
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
?>
<h1><?php the_title() ?></h1>
<div class="row">
<?php
$thumbnailRow = new \UWAA\View\ThumbnailBrowser\ThumbnailBrowser;
$thumbnailRow->makeThumbnails(new Chapters(basename(get_permalink() ) ) );
?>
</div>
<?php
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
include(locate_template( 'content-page-communities.php' ));
endwhile;
?>
</div>
</div>
<div class="col-md-4 uw-sidebar">
<?php
$communitiesSidebarMenu->renderCommunitiesChapterMenu();
?>
<div id="no-chapter-widget" class="widget widget_text">
<div class="uwaa-btn-wrapper">
<a class="uwaa-btn btn-slant-right btn-purple" href="#accordion">Find your community</a>
</div>
</div>
<div id="text-3" class="widget widget_text">
<h2 class="widgettitle">Update your contact information</h2>
<div class="textwidget">
Help keep our records current! Please <a href="https://www.washington.edu/alumni/services/update/">update your contact information,</a> which helps ensure that you receive relevant communications from the UW and the UW Alumni Association.
</div>
</div>
<?php
the_widget("UWAA\Widgets\SidebarSeeYourChapter");
?>
</div>
</div>
</div>
<?php get_footer(); ?>