profile edit form styles and layout updates
This commit is contained in:
parent
7bf43d9d18
commit
6ead9e9fcf
2 changed files with 116 additions and 36 deletions
|
@ -2,10 +2,29 @@
|
|||
"key": "group_5c814f3b73fd9",
|
||||
"title": "Was Mormon Profile",
|
||||
"fields": [
|
||||
{
|
||||
"key": "field_63726fdd77725",
|
||||
"label": "Intro",
|
||||
"name": "",
|
||||
"aria-label": "",
|
||||
"type": "accordion",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
"conditional_logic": 0,
|
||||
"wrapper": {
|
||||
"width": "",
|
||||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"open": 1,
|
||||
"multi_expand": 1,
|
||||
"endpoint": 0
|
||||
},
|
||||
{
|
||||
"key": "field_63375a2e8579f",
|
||||
"label": "Your very own mormon story or ex-mormon dot org profile",
|
||||
"name": "",
|
||||
"aria-label": "",
|
||||
"type": "message",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -15,15 +34,16 @@
|
|||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"message": "Welcome! We are genuinely excited to meet you and read your story. Please, don't hesitate to <a href=\"https:\/\/circlecube.test\/wasmormon\/contact\/\" target=\"_blank\">reach out<\/a> if you have any questions or suggestions to improve the site.\r\n\r\nEnter an introduction and summarize why you left below, then feel free to also answer some questions to expand your story.",
|
||||
"message": "Welcome! We are genuinely excited to meet you and read your story. Please, don't hesitate to reach out if you have any questions or suggestions to improve the site.\r\n\r\nEnter an introduction and summarize why you left below, then add and answer some questions to expand your story.\r\n\r\nContinue writing your story in the questions section. Answer some predefined questions for readers to continue telling your story and the story of mormonism, or even add your own question to answer if something is missing. Feel free to come back to add or edit your story anytime you wish. \r\n\r\nYou can also add shelf item labels and place yourself on the post-mormon spectrum in the labels section. \r\n\r\nThen, in the settings section you can add social media links if you'd like others to be able to find you online. You can also update your name that is displayed in the directory and the id that controls your profile URL.",
|
||||
"new_lines": "wpautop",
|
||||
"esc_html": 0
|
||||
},
|
||||
{
|
||||
"key": "field_5cb48fcbb16dd",
|
||||
"label": "Profile",
|
||||
"key": "field_63726ff077726",
|
||||
"label": "Welcome",
|
||||
"name": "",
|
||||
"type": "tab",
|
||||
"aria-label": "",
|
||||
"type": "accordion",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
"conditional_logic": 0,
|
||||
|
@ -32,13 +52,15 @@
|
|||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"placement": "top",
|
||||
"endpoint": 0
|
||||
"open": 0,
|
||||
"multi_expand": 0,
|
||||
"endpoint": 1
|
||||
},
|
||||
{
|
||||
"key": "field_5c815b51df649",
|
||||
"label": "Hi",
|
||||
"name": "hi",
|
||||
"aria-label": "",
|
||||
"type": "text",
|
||||
"instructions": "Quick introductions.\r\n\r\nFor example: Hi, I'm Joe.",
|
||||
"required": 1,
|
||||
|
@ -58,6 +80,7 @@
|
|||
"key": "field_5c815af4df648",
|
||||
"label": "Tagline",
|
||||
"name": "tagline",
|
||||
"aria-label": "",
|
||||
"type": "textarea",
|
||||
"instructions": "This should be a short sentence about you. Followed by a phrase such as: `I was a mormon`.\r\n\r\nFor example: I enjoy camping and meditation, I am a traveller and truth-seeker. I was a mormon.",
|
||||
"required": 1,
|
||||
|
@ -77,6 +100,7 @@
|
|||
"key": "field_5c815b7edf64a",
|
||||
"label": "Photo",
|
||||
"name": "photo",
|
||||
"aria-label": "",
|
||||
"type": "image",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -101,6 +125,7 @@
|
|||
"key": "field_5c87b7a994494",
|
||||
"label": "About Me",
|
||||
"name": "about_me",
|
||||
"aria-label": "",
|
||||
"type": "textarea",
|
||||
"instructions": "Share your background (be sure to include a mormon context).",
|
||||
"required": 0,
|
||||
|
@ -120,6 +145,7 @@
|
|||
"key": "field_5c815ad1df647",
|
||||
"label": "Why I left",
|
||||
"name": "why_i_left",
|
||||
"aria-label": "",
|
||||
"type": "textarea",
|
||||
"instructions": "Describe your struggles and conclusions.",
|
||||
"required": 0,
|
||||
|
@ -135,28 +161,12 @@
|
|||
"rows": 10,
|
||||
"new_lines": "wpautop"
|
||||
},
|
||||
{
|
||||
"key": "field_6052478cdce82",
|
||||
"label": "Continue",
|
||||
"name": "",
|
||||
"type": "message",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
"conditional_logic": 0,
|
||||
"wrapper": {
|
||||
"width": "",
|
||||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"message": "Continue writing your story on the next <a href=\"#content\">tab (top of the page)<\/a>. Answer some predefined questions for readers to continue telling your story and the story of mormonism. Feel free to submit new questions or come back to add or edit your story anytime you wish.\r\n\r\nYou can also add shelf item labels and place yourself on the post-mormon spectrum in the Labels tab. In the settings tab you can add social media links if you'd like others to be able to find you online. You can also update your name that is displayed in the directory and the id that controls your profile URL. You can also add a location to your profile.",
|
||||
"new_lines": "wpautop",
|
||||
"esc_html": 0
|
||||
},
|
||||
{
|
||||
"key": "field_5e8f9a6211bed",
|
||||
"label": "Questions",
|
||||
"name": "",
|
||||
"type": "tab",
|
||||
"aria-label": "",
|
||||
"type": "accordion",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
"conditional_logic": 0,
|
||||
|
@ -165,15 +175,17 @@
|
|||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"placement": "top",
|
||||
"open": 1,
|
||||
"multi_expand": 1,
|
||||
"endpoint": 0
|
||||
},
|
||||
{
|
||||
"key": "field_5c82b3ec902d9",
|
||||
"label": "Questions",
|
||||
"name": "questions",
|
||||
"aria-label": "",
|
||||
"type": "repeater",
|
||||
"instructions": "Add some questions to help tell your story. Some find it helpful or even therapeutic to answer some. You may also write your own questions to answer if you don't find a suitable question for your story. To start, click the \"Answer a Question\" button and then choose a question from the list (or you can press the little plus button to add your own question you'd like to answer)",
|
||||
"instructions": "Add some questions to help tell your story. It can be helpful or even therapeutic to answer some. You may also write your own questions to answer if you don't find a suitable question for your story. To start, click the \"Next Question\" button and then choose a question from the list (or you can press the little plus button to add your own question you'd like to answer).",
|
||||
"required": 0,
|
||||
"conditional_logic": 0,
|
||||
"wrapper": {
|
||||
|
@ -181,18 +193,19 @@
|
|||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"layout": "block",
|
||||
"layout": "row",
|
||||
"pagination": 0,
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"collapsed": "field_5c82c9d1902db",
|
||||
"button_label": "Answer a Question",
|
||||
"button_label": "New Question",
|
||||
"rows_per_page": 20,
|
||||
"sub_fields": [
|
||||
{
|
||||
"key": "field_5c82b49f902da",
|
||||
"label": "Question",
|
||||
"name": "question",
|
||||
"aria-label": "",
|
||||
"type": "taxonomy",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -216,6 +229,7 @@
|
|||
"key": "field_5c82c9d1902db",
|
||||
"label": "Answer",
|
||||
"name": "answer",
|
||||
"aria-label": "",
|
||||
"type": "textarea",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -238,7 +252,8 @@
|
|||
"key": "field_5ebaf40db15f2",
|
||||
"label": "Labels",
|
||||
"name": "",
|
||||
"type": "tab",
|
||||
"aria-label": "",
|
||||
"type": "accordion",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
"conditional_logic": 0,
|
||||
|
@ -247,13 +262,15 @@
|
|||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"placement": "top",
|
||||
"open": 0,
|
||||
"multi_expand": 1,
|
||||
"endpoint": 0
|
||||
},
|
||||
{
|
||||
"key": "field_60524972dce84",
|
||||
"label": "Labels",
|
||||
"name": "",
|
||||
"aria-label": "",
|
||||
"type": "message",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -271,6 +288,7 @@
|
|||
"key": "field_5ebaf36bcc0fe",
|
||||
"label": "Mormon spectrum",
|
||||
"name": "mormon_spectrum",
|
||||
"aria-label": "",
|
||||
"type": "taxonomy",
|
||||
"instructions": "Display some tags or labels on your profile to indicate where you see yourself on the mormon spectrum.",
|
||||
"required": 0,
|
||||
|
@ -293,6 +311,7 @@
|
|||
"key": "field_5ebaf423b15f3",
|
||||
"label": "On My Shelf",
|
||||
"name": "my_shelf",
|
||||
"aria-label": "",
|
||||
"type": "taxonomy",
|
||||
"instructions": "List your \"shelf items\" you had\/have with the church, or things that you found difficult or impossible to reconcile, you can have as few or as many as you want.",
|
||||
"required": 0,
|
||||
|
@ -315,7 +334,8 @@
|
|||
"key": "field_5cb48fbcb16dc",
|
||||
"label": "Settings",
|
||||
"name": "",
|
||||
"type": "tab",
|
||||
"aria-label": "",
|
||||
"type": "accordion",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
"conditional_logic": 0,
|
||||
|
@ -324,13 +344,15 @@
|
|||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"placement": "top",
|
||||
"open": 0,
|
||||
"multi_expand": 1,
|
||||
"endpoint": 0
|
||||
},
|
||||
{
|
||||
"key": "field_5cb486045a336",
|
||||
"label": "Display Name",
|
||||
"name": "display_name",
|
||||
"aria-label": "",
|
||||
"type": "text",
|
||||
"instructions": "This is the name used along with your photo on various places in the site such as the directory. It's nice to match the with your name used in your introduction.",
|
||||
"required": 1,
|
||||
|
@ -350,6 +372,7 @@
|
|||
"key": "field_5cb486165a337",
|
||||
"label": "Profile Id",
|
||||
"name": "profile_id",
|
||||
"aria-label": "",
|
||||
"type": "text",
|
||||
"instructions": "This will be your unique url. It must only contain url safe characters (uppercase and lowercase letters, numbers as well as a dash - and underscore _ are allowed). Example: firstname-lastname or reddit_username. This must also be unique, so if there is another 'bob-smith' you cannot use the same, and it will automatically update to 'bob-smith-2'. Note that changing this will break any external links to your current profile.",
|
||||
"required": 1,
|
||||
|
@ -369,6 +392,7 @@
|
|||
"key": "field_5c815bccdf64c",
|
||||
"label": "Include me in the directory?",
|
||||
"name": "in_directory",
|
||||
"aria-label": "",
|
||||
"type": "select",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -396,6 +420,7 @@
|
|||
"key": "field_5c87a1f5c2b0c",
|
||||
"label": "Location",
|
||||
"name": "location",
|
||||
"aria-label": "",
|
||||
"type": "text",
|
||||
"instructions": "If you are comfortable, share where you live. Nothing specific, just a city or region.",
|
||||
"required": 0,
|
||||
|
@ -415,6 +440,7 @@
|
|||
"key": "field_5c86dea246f81",
|
||||
"label": "Links",
|
||||
"name": "links",
|
||||
"aria-label": "",
|
||||
"type": "group",
|
||||
"instructions": "You may link to your social media profiles or your own website if you wish others to be able to find you.",
|
||||
"required": 0,
|
||||
|
@ -430,6 +456,7 @@
|
|||
"key": "field_5c87a7c3a86a5",
|
||||
"label": "Facebook",
|
||||
"name": "facebook",
|
||||
"aria-label": "",
|
||||
"type": "url",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -446,6 +473,7 @@
|
|||
"key": "field_5c87a7d8a86a6",
|
||||
"label": "Twitter",
|
||||
"name": "twitter",
|
||||
"aria-label": "",
|
||||
"type": "url",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -462,6 +490,7 @@
|
|||
"key": "field_5cb4833aca24f",
|
||||
"label": "Reddit",
|
||||
"name": "reddit",
|
||||
"aria-label": "",
|
||||
"type": "url",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -478,6 +507,7 @@
|
|||
"key": "field_5c87a87ba86a8",
|
||||
"label": "Instagram",
|
||||
"name": "instagram",
|
||||
"aria-label": "",
|
||||
"type": "url",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -494,6 +524,7 @@
|
|||
"key": "field_5c87a7fda86a7",
|
||||
"label": "Other",
|
||||
"name": "other",
|
||||
"aria-label": "",
|
||||
"type": "url",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
|
@ -512,6 +543,7 @@
|
|||
"key": "field_5e428267bd07d",
|
||||
"label": "I want to write posts",
|
||||
"name": "i_want_to_write_posts",
|
||||
"aria-label": "",
|
||||
"type": "select",
|
||||
"instructions": "Do you want to contribute blog posts to wasmormon.org?",
|
||||
"required": 0,
|
||||
|
@ -533,6 +565,24 @@
|
|||
"ajax": 0,
|
||||
"return_format": "value",
|
||||
"placeholder": ""
|
||||
},
|
||||
{
|
||||
"key": "field_6372637741710",
|
||||
"label": "End",
|
||||
"name": "",
|
||||
"aria-label": "",
|
||||
"type": "accordion",
|
||||
"instructions": "",
|
||||
"required": 0,
|
||||
"conditional_logic": 0,
|
||||
"wrapper": {
|
||||
"width": "",
|
||||
"class": "",
|
||||
"id": ""
|
||||
},
|
||||
"open": 0,
|
||||
"multi_expand": 0,
|
||||
"endpoint": 1
|
||||
}
|
||||
],
|
||||
"location": [
|
||||
|
@ -568,5 +618,5 @@
|
|||
"active": true,
|
||||
"description": "",
|
||||
"show_in_rest": 0,
|
||||
"modified": 1665174798
|
||||
"modified": 1668449353
|
||||
}
|
36
style.css
36
style.css
|
@ -5,7 +5,7 @@
|
|||
Author: Evan Mullins
|
||||
Author URI: https://circlecube.com
|
||||
Template: twentynineteen
|
||||
Version: 1.10.11
|
||||
Version: 1.10.12
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: wasmo
|
||||
|
@ -1021,17 +1021,47 @@ div.lwa-modal-overlay div.lwa-modal-popup {
|
|||
line-height: 1.2;
|
||||
margin: .5rem 0 1rem;
|
||||
}
|
||||
|
||||
.home .entry .entry-content .wp-block-latest-posts li {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.home .wp-block-latest-posts__featured-image {
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
|
||||
.gform_wrapper .gform_button.button {
|
||||
.gform_wrapper .gform_button.button,
|
||||
.button, button, input[type="button"], input[type="reset"], input[type="submit"] {
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
.page-template-template-edit .entry-content > #acf-form {
|
||||
max-width: 1024px;
|
||||
}
|
||||
|
||||
.acf-form-submit {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
.acf-field.acf-accordion .acf-label.acf-accordion-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.acf-field.acf-accordion .acf-accordion-title label {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.acf-fields .acf-field.acf-field-repeater .acf-input .acf-repeater {
|
||||
margin: 0 -1.75rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.acf-fields .acf-field.acf-field-repeater .acf-input .acf-repeater {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1046,7 +1076,7 @@ div.lwa-modal-overlay div.lwa-modal-popup {
|
|||
}
|
||||
|
||||
.entry .entry-content p.description {
|
||||
font-size: 20px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.site-footer .widget-column .widget:first-child {
|
||||
|
|
Loading…
Reference in a new issue