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

Demystify Home & Posts Page Templates #6

Closed
bph opened this issue Sep 22, 2022 · 11 comments
Closed

Demystify Home & Posts Page Templates #6

bph opened this issue Sep 22, 2022 · 11 comments
Assignees
Milestone

Comments

@bph
Copy link
Collaborator

bph commented Sep 22, 2022

By @DaisyOlsen

The WordPress template hierarchy is relatively straightforward but there is often confusion about how Reading settings and index, custom, home, and front-page templates work and where each should be used to control the home and posts pages on a site.

@bph bph added flow: approved can move forward flow: needs review reviewer wanted labels Sep 22, 2022
@bph bph changed the title Creating Themes from a Pattern-First Mindset Sep 22, 2022
@bph bph removed the flow: needs review reviewer wanted label Sep 22, 2022
@bph bph added this to the Go Live milestone Sep 22, 2022
@bph bph assigned bph and DaisyOlsen and unassigned bph Sep 22, 2022
@DaisyOlsen
Copy link

A draft of this post has been added to the site and is ready for review.

@DaisyOlsen DaisyOlsen added flow: needs review reviewer wanted and removed flow: approved can move forward labels Oct 28, 2022
@abhansnuk
Copy link

abhansnuk commented Oct 28, 2022

Second review done @bph:
Thanks for writing this Daisy.
@bph, this could get both a 'Beginner' and 'Intermediate' label to display.
It sets out the differences, actions, and where to learn more well so will be useful to both audiences. It may also be worth taking part of this and reusing it on LearnWP too for end users as opposed to devs, if it is not there already.

  • To do: Alt text needed for images on this post
  • Capitals, punctuation and bullet points standardized throughout post and in line with Estela's comment in docs last week. Query for @bph on specific capitalization in the main headline for this post for 'Home and Posts templates'.
    • Follow-up for tips doc: Also presume in text 'classic theme' and 'block theme' as general terms would be lower case first letters. This can be added to the tips for writers document as an example.
  • Query: Are we hyphenating 'front-page'? If so, this needs to be added to the tips for writers document under hyphenation
  • To action: Excerpt needed, category and tags/ keywords, and credits before publication.
  • Query; are there any links to docs/ DevHub @DaisyOlsen which could be added to this post?

Wider questions as with other posts for launch:

  • for very long articles are we going to put a section content list at the top, and any back to top links @bph ?
    code title field and accessibility (as per query raised for posts in general)
  • keywords for posts to be discussed at next dev blog meeting
  • format we will be using for credits at the end of posts (to be agreed and will need to be used for all the posts going live next week too)
@bcworkz-wp
Copy link

Suggest appending to "Template names are referenced below without file extensions.":
"Required file extensions would be either '.php' or '.html' as appropriate for the theme type being developed."
or something along those lines. An article targeted at beginners cannot assume the reader knows much of anything.

@DaisyOlsen
Copy link

Thanks for the great feedback, everyone. I want to be sure I understand my next steps here. Would you all like me to incorporate the feedback above? I don't want to falsely assume what should be done next.

@bph
Copy link
Collaborator Author

bph commented Nov 1, 2022

Well, @DaisyOlsen What is it you would want to do next?

@bph
Copy link
Collaborator Author

bph commented Nov 2, 2022

:-) If I had to spell it out, I would say you have three paths on your journey.

  • incorporate the feedback you agree with,
  • ask for clarification if you don't understand, and
  • explain, why you don't agree with feedback…
@abhansnuk
Copy link

@bph if you can let me know about the questions above that relate to all posts, I can incorporate this into the tips for writers document. Thanks so much.

@bph
Copy link
Collaborator Author

bph commented Nov 2, 2022

@abhansnuk I have a favor to ask: Would you mind consolidating items that need overall/wider clarification, with your recommendation in the draft of your Writing Guidelines, and highlight them in the comments of the Google Doc?

Query: Are we hyphenating 'front-page'? If so, this needs to be added to the tips for writers document under hyphenation

I looked up front-page, seems we don't need to be added to the writer's guidelines, unless there is a reason not to follow Merriam-Webster's dictionary.

@justintadlock
Copy link

In the context of WordPress or websites in general:

That is the front-page template. <-- when used as an adjective

The site displays posts on its front page. <-- when used as a noun (but, we'd likely say "homepage" here)

@bph bph removed the flow: needs review reviewer wanted label Nov 18, 2022
@DaisyOlsen
Copy link

This post has been published. I added alt-text and reviewed bullet lists and titles for consistency. I also expanded the note about file extensions to mention HTML and PHP.

Any further edits to punctuation or capitalization can still be adjusted if needed.

@bph
Copy link
Collaborator Author

bph commented Nov 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants