Skip to content

Commit 0f99dc1

Browse files
committed
Homepage WIP
1 parent 6d83609 commit 0f99dc1

File tree

9 files changed

+6674
-12
lines changed

9 files changed

+6674
-12
lines changed

acf-json/group_5fa206147d34b.json

+185
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
{
2+
"key": "group_5fa206147d34b",
3+
"title": "Homepage Hero",
4+
"fields": [
5+
{
6+
"key": "field_5fa206235c78a",
7+
"label": "Title",
8+
"name": "title",
9+
"type": "text",
10+
"instructions": "",
11+
"required": 0,
12+
"conditional_logic": 0,
13+
"wrapper": {
14+
"width": "",
15+
"class": "",
16+
"id": ""
17+
},
18+
"default_value": "",
19+
"placeholder": "",
20+
"prepend": "",
21+
"append": "",
22+
"maxlength": ""
23+
},
24+
{
25+
"key": "field_5fa206305c78b",
26+
"label": "Content",
27+
"name": "content",
28+
"type": "wysiwyg",
29+
"instructions": "",
30+
"required": 0,
31+
"conditional_logic": 0,
32+
"wrapper": {
33+
"width": "",
34+
"class": "",
35+
"id": ""
36+
},
37+
"default_value": "",
38+
"tabs": "all",
39+
"toolbar": "full",
40+
"media_upload": 0,
41+
"delay": 0
42+
},
43+
{
44+
"key": "field_5fa206455c78c",
45+
"label": "Image",
46+
"name": "image",
47+
"type": "image",
48+
"instructions": "",
49+
"required": 0,
50+
"conditional_logic": 0,
51+
"wrapper": {
52+
"width": "",
53+
"class": "",
54+
"id": ""
55+
},
56+
"return_format": "id",
57+
"preview_size": "medium",
58+
"library": "all",
59+
"min_width": "",
60+
"min_height": "",
61+
"min_size": "",
62+
"max_width": "",
63+
"max_height": "",
64+
"max_size": "",
65+
"mime_types": ""
66+
},
67+
{
68+
"key": "field_5fa206575c78d",
69+
"label": "Featured Courses",
70+
"name": "featured_courses",
71+
"type": "repeater",
72+
"instructions": "",
73+
"required": 0,
74+
"conditional_logic": 0,
75+
"wrapper": {
76+
"width": "",
77+
"class": "",
78+
"id": ""
79+
},
80+
"collapsed": "field_5fa206635c78e",
81+
"min": 1,
82+
"max": 5,
83+
"layout": "table",
84+
"button_label": "Add Course",
85+
"sub_fields": [
86+
{
87+
"key": "field_5fa206635c78e",
88+
"label": "Title",
89+
"name": "title",
90+
"type": "text",
91+
"instructions": "",
92+
"required": 0,
93+
"conditional_logic": 0,
94+
"wrapper": {
95+
"width": "",
96+
"class": "",
97+
"id": ""
98+
},
99+
"default_value": "",
100+
"placeholder": "",
101+
"prepend": "",
102+
"append": "",
103+
"maxlength": ""
104+
},
105+
{
106+
"key": "field_5fa206705c78f",
107+
"label": "Description",
108+
"name": "description",
109+
"type": "text",
110+
"instructions": "",
111+
"required": 0,
112+
"conditional_logic": 0,
113+
"wrapper": {
114+
"width": "",
115+
"class": "",
116+
"id": ""
117+
},
118+
"default_value": "",
119+
"placeholder": "",
120+
"prepend": "",
121+
"append": "",
122+
"maxlength": ""
123+
},
124+
{
125+
"key": "field_5fa206765c790",
126+
"label": "Featured Course",
127+
"name": "featured_course",
128+
"type": "page_link",
129+
"instructions": "",
130+
"required": 0,
131+
"conditional_logic": 0,
132+
"wrapper": {
133+
"width": "",
134+
"class": "",
135+
"id": ""
136+
},
137+
"post_type": [
138+
"cc_course"
139+
],
140+
"taxonomy": "",
141+
"allow_null": 0,
142+
"allow_archives": 1,
143+
"multiple": 0
144+
}
145+
]
146+
},
147+
{
148+
"key": "field_5fa217e24eade",
149+
"label": "Additional Information",
150+
"name": "additional_information",
151+
"type": "wysiwyg",
152+
"instructions": "",
153+
"required": 0,
154+
"conditional_logic": 0,
155+
"wrapper": {
156+
"width": "",
157+
"class": "",
158+
"id": ""
159+
},
160+
"default_value": "",
161+
"tabs": "all",
162+
"toolbar": "full",
163+
"media_upload": 1,
164+
"delay": 0
165+
}
166+
],
167+
"location": [
168+
[
169+
{
170+
"param": "page_template",
171+
"operator": "==",
172+
"value": "page-home.php"
173+
}
174+
]
175+
],
176+
"menu_order": 0,
177+
"position": "normal",
178+
"style": "default",
179+
"label_placement": "top",
180+
"instruction_placement": "label",
181+
"hide_on_screen": "",
182+
"active": true,
183+
"description": "",
184+
"modified": 1604458478
185+
}

assets/css/styles.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cert-site.md

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
Live Site: https://certificates.creativecommons.org/
2+
3+
The certificates site is a WordPress _Multisite_ installation, comprised of one main site and several sites in the form of _books_, powered by [pressbooks](https://github.com/pressbooks/pressbooks). For this project the book sites should remain the same as much as possible, using the currently active theme, styles, and settings. The only changes made should be to update dependencies.
4+
5+
The following sections are notes on styling and functionality, scoped to the relevant page section.
6+
7+
## Site
8+
9+
## notes
10+
11+
- Here's the [Figma mockups](https://www.figma.com/file/GFL1IJOfjKqRxBy1vYDBcc/Mockups?node-id=1203%3A0)
12+
- <details>
13+
<summary>Currently installed plugin list:</summary>
14+
<ul>
15+
<li>Akismet Anti-Spam</li>
16+
<li>Jetpack by WordPress.com</li>
17+
<li>Breadcrumb NavXT</li>
18+
<li>ManageWP - Worker</li>
19+
<li>VaultPress</li>
20+
<li>WordPress Importer</li>
21+
<li>WP Super Cache</li>
22+
<li>Pressbooks</li>
23+
<li>mPDF for Pressbooks</li>
24+
<li>Candela Citation</li>
25+
<li>Candela LTI</li>
26+
<li>LTI</li>
27+
<li>Candela Thin Exports</li>
28+
<li>Candela Utility</li>
29+
<li>Hypothesis</li>
30+
<li>The Events Calendar</li>
31+
</ul>
32+
</details>
33+
34+
## todos
35+
36+
- [ ] Highlight active parent-level menu items
37+
- [ ] Reduced font sizes for mobile
38+
- [ ] Add "Back to Top" link on mobile
39+
40+
## Pressbooks plugin: https://github.com/pressbooks/pressbooks
41+
42+
### notes
43+
44+
- Lastest Release: https://github.com/pressbooks/pressbooks/releases/tag/5.16.3
45+
- Current book theme(s): `Bombadil` (child theme of `McLuhan`)
46+
- books are using the Bombadil theme (which is a child theme of "McLuhan")
47+
48+
### todos
49+
50+
- [ ] Need to test compatilibity with `PHP 7.4.11`
51+
52+
---
53+
54+
- homepage
55+
- upcoming course can not contain bootcamp
56+
- news from the blog
57+
- summit widget exists for this (pulling a post from .org via wp api)
58+
- manual
59+
- one post from each category on the .org site
60+
- education-oer
61+
- no openglam category
62+
- we do have a glam tag
63+
- no open access category
64+
- conversations in the community
65+
- 3 manual tweet embeds
66+
- Resources page
67+
- Graduates
68+
69+
- 4 columns
70+
- Canvas LMS rest api for graduates: https://duckduckgo.com/?q=canvas+lms+api&atb=v235-7&ia=web
71+
72+
- course template
73+
74+
- only show open
75+
76+
- Alumni
77+
78+
- alumni button in header prompts login + redirects to login page
79+
- alumni button turns into user info dropdown logout / edit / ect.
80+
- dynamic alumni count in header
81+
- bbpress embed
82+
83+
- members
84+
85+
- members list
86+
- search by name
87+
88+
- member single view
89+
- 3 fields (name, course, year)

0 commit comments

Comments
 (0)