Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use WordPress to create a one-page site #2304

Closed
Tracked by #2003
digitalchild opened this issue Mar 7, 2024 · 10 comments
Closed
Tracked by #2003

Use WordPress to create a one-page site #2304

digitalchild opened this issue Mar 7, 2024 · 10 comments
Assignees
Labels
[Content] Published Marks closed issues as content that was actually published.

Comments

@digitalchild
Copy link
Contributor

digitalchild commented Mar 7, 2024

Details

  • Content type (Online Workshop, Lesson, Course, Tutorial, or Lesson Plan):
  • Content title: Use WordPress to create a one-page site
  • Topic description: Use WordPress to create a one-pager (basically, using this or recreating this). See also this workshop.
  • Audience (User, Developer, Designer, Contributor, etc.): User
  • Experience Level (Beginner, Intermediate, Advanced, Any): Advanced

Learning Objectives

Related Resources and Other Notes

Automation Code

@digitalchild
Copy link
Contributor Author

//lessons

Copy link
Contributor

github-actions bot commented Mar 7, 2024

Lesson Development Checklist

  • Gather any relevant links to Support, Docs, or related material
  • Description and Objectives finalized
  • Lesson created and announced to the team for review
  • Lesson reviewed
  • Lesson video submitted and published to WPTV
  • Lesson created on Learn.WordPress.org
  • Lesson video published to YouTube
  • Lesson on Learn.WordPress.org updated with YouTube video
  • Lesson published to Learn.WordPress.org

@westnz westnz changed the title Copy and paste code from a directory PHP Dabbling (action hooks) Use WordPress to create a one-page site Jun 18, 2024
@westnz westnz self-assigned this Jun 21, 2024
@westnz
Copy link
Collaborator

westnz commented Jul 2, 2024

One.page.site.labels.and.anchors.mp4

@ironnysh
Copy link

ironnysh commented Jul 2, 2024

Tutorial/Lessons Review Checklist

  • Learning outcomes/objectives are clear.
  • Technical concepts introduced in the content are accurate.
  • The speed of demonstrations are easy to follow.
  • The narration audio matches what is shown visually.
  • Spelling and grammar are correct.
  • Sound quality is consistent throughout the video.
  • Brand Usage Guidelines and Promotional Guidelines are being followed.
  • Media assets are all in the public domain (CC0).

This is an excellent tutorial, @westnz! 💫

I have two comments:

Links: I wouldn't call the links in the Navigation block labels:

  1. These are standard links that just happen to point to a section on the same page. To differentiate them from external links, maybe they can be called “in-page links”?
  2. Labels are specific HTML elements that are usually associated with forms.

It could be useful to clarify that the URL should either be one word (no spaces) or separated with hyphens/underscores (- or _). It's only mentioned later, when you get to the HTML anchor part.

Smooth scrolling: from an a11y perspective, it's good practice to wrap this functionality in a prefers-reduced-motion media query. This respects the user's preferences and only kicks in when they haven't explicitly disabled the option on their device.
Here's the snippet:

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@westnz
Copy link
Collaborator

westnz commented Jul 2, 2024

Very helpful feedback @ironnysh 🥳

It could be useful to clarify that the URL should either be one word (no spaces) or separated with hyphens/underscores (- or _). It's only mentioned later, when you get to the HTML anchor part.

Could you elaborate what you meant here?

@Soir7
Copy link

Soir7 commented Jul 2, 2024

Tutorial/Lessons Review Checklist

Please tick all items you've confirmed:
[+] Learning outcomes/objectives are clear.
[+] Technical concepts introduced in the content are accurate.
[+] The speed of demonstrations are easy to follow.
[+] The narration audio matches what is shown visually.
[+] Spelling and grammar are correct.
[+] Sound quality is consistent throughout the video.
[+] Brand Usage Guidelines and Promotional Guidelines are being followed.
[o] Media assets are all in the public domain (CC0). - How may I verify following images are in public domain? Am I to find in cc.org link?

Leave an additional comment below with feedback. You can also share what you liked about this Tutorials in in progress

Hi @westnz! Nice flow - beautifully methodical and concise. Love your positive, encouraging, and upbeat tone.

Some comments:

1 - If this video is meant to appeal to the most elementary level, please define 'sticky' menu.
2 - Comment added @ 3.08 about bookmarks & ids. Consider placing this descriptive info. to precede the actual tasks.
3 - I understand it can be challenging to decide which/how many definitions/explanations to add during video. Where/when applicable, consider supplementing video with glossary/definitions list.
4 - Not sure how to specifically how to check if 3 media assets (guy @ laptop/Bilbao/head-shot are in public domain. Following resource seems vast: https://creativecommons.org/share-your-work/public-domain/cc0.

Thank you.

@TinaCollier
Copy link

Hey @westnz Long time no see!

I watched your video lesson, and you knocked it out of the park with this tutorial. You addressed all four Learning objectives:

  • Create a front page template
  • Create a fixed header
  • Add labels and anchors
  • Implement smooth scrolling

You did a great job explaining how to create the template and all of the parts, what they do, and how to edit them. You also did well in explaining how HTML anchors work and why and how they have to be linked.

Regarding smooth scrolling, I like that you showed what the site would act like without the smooth-scrolling code snippet. This really brings attention to how different the behavior of the page is without that additional CSS.

Overall, this was an easily digestible lesson for a newbie. Thanks for sharing!

Best,
Tina

@westnz
Copy link
Collaborator

westnz commented Jul 2, 2024

Thank you @TinaCollier

@ironnysh
Copy link

ironnysh commented Jul 3, 2024

It could be useful to clarify that the URL should either be one word (no spaces) or separated with hyphens/underscores (- or _). It's only mentioned later, when you get to the HTML anchor part.

Could you elaborate what you meant here?

At 2:16, you demonstrate how to link to the “My work” section by typing #mywork as one word. People who don't know HTML may not know that URLs should be lowercase and without spaces. It wasn't mentioned until 3:24.

@westnz
Copy link
Collaborator

westnz commented Jul 23, 2024

//published

@github-actions github-actions bot added the [Content] Published Marks closed issues as content that was actually published. label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Content] Published Marks closed issues as content that was actually published.
Projects
Status: 📜 Published or Closed
Development

No branches or pull requests

5 participants