Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Question: How to address "Other Posts" section in the templates? #134

Closed
beafialho opened this issue Aug 27, 2024 · 6 comments · Fixed by #168
Closed

Question: How to address "Other Posts" section in the templates? #134

beafialho opened this issue Aug 27, 2024 · 6 comments · Fixed by #168
Assignees
Labels
[Component] Block Patterns [Status] In Progress Tracking issues with work in progress

Comments

@beafialho
Copy link
Contributor

beafialho commented Aug 27, 2024

Description
As per the design, we have an "Other Posts" section in some of the Single templates. It seems that it isn't possible to style the latest posts block this way and the problem with using the query loop is that it can not exclude the current post, so it won't technically be "other" posts.

@richtabor @MaggieCabrera @jasmussen do you have a suggestion for how to build this? Should we reconsider using this section?

Captura de ecrã 2024-08-27, às 16 26 15

@carolinan
Copy link
Contributor

If WordPress/gutenberg#42810 can not be solved before Beta 1, the fastest solution is to have a regular query loop below another heading, for example "latest posts" or "more posts".

@jasmussen
Copy link
Contributor

I'd tend to echo Carolina. The subheading could even be "All posts" or just "Posts".

@beafialho
Copy link
Contributor Author

the fastest solution is to have a regular query loop below another heading, for example "latest posts" or "more posts".

I agree with this, using "More Posts" for example.

@juanfra juanfra added [Type] Question Questions about the design or development of the theme. [Type] Discussion For issues that are high-level and not yet ready to implement. labels Aug 27, 2024
@beafialho beafialho changed the title Question: How do address "Other Posts" section in the templates? Question: How to address "Other Posts" section in the templates? Aug 28, 2024
@carolinan
Copy link
Contributor

carolinan commented Aug 30, 2024

Unfortunately, I don't think that we can re-use the "Text-only blog, posts" query pattern for this since the "More posts" are not intended to have the pagination, correct?

We can re-use parts of it though.

@beafialho
Copy link
Contributor Author

Unfortunately, I don't think that we can re-use the "Text-only blog, posts" query pattern for this since the "More posts" are not intended to have the pagination, correct?

Correct, the "More posts" section at the bottom of the template should not have pagination but other than pagination, the design is exactly the same 👍

@carolinan carolinan self-assigned this Aug 30, 2024
@carolinan carolinan added [Component] Block Patterns [Status] In Progress Tracking issues with work in progress and removed [Type] Question Questions about the design or development of the theme. [Type] Discussion For issues that are high-level and not yet ready to implement. labels Sep 1, 2024
@beafialho
Copy link
Contributor Author

This seems solved, right? I'll go ahead and close it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Component] Block Patterns [Status] In Progress Tracking issues with work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants