jeflopo
Forum Replies Created
-
@mjani As pointed by @threadi this is not the kind of solution I’m looking for. I yet value and thank you both for trying & for your willingness to help me. So Thank You.
So basically, what I understand Is that we can’t differentiate the first page of the query block pagination with Gutenberg. We have to resort to create either a front-page template with a custom page template or the same but without front-page, assigned so we can emulate the first page of the blog index. Then adapt the rest of the blog index to continue from the corresponding post number. Problem is that there’s a bug when the query loop block is not inherited (and therefore we can edit post per page / offset) & also the last page of the pagination is always empty. It’s reported on Github.
I think that till that bug is sorted out I will create a specific page for the first page of the blog index and then simply make the second page of the paginated blog index to match the next posts.
I could still use the other option in the thread you mentioned @threadi by using a pattern & php & the $wp_query object and probably the conditional rendering used by @mjani on her script. But I don’t really want to go that route.Forum: Fixing WordPress
In reply to: How to use the Posts page with multiple templates ?I figured out how to do it.
It’s implemented in TT4.
Basically, in the editor, in the home template, there’s an action menú to replace the template content.
I think that the file names must match the slugs of the template hierarchy for wordpress find them.- This reply was modified 1 year, 1 month ago by jeflopo.
Forum: Fixing WordPress
In reply to: How to use the Posts page with multiple templates ?This is how it looks like when I have set the posts page in the reading > settings, but then I can only use the home.html template:
If I unset the posts page ( — Select — ) I can use whatever custom template I want but then… The query block doesn’t seems to work.
How can we use different templates for the posts page ?
Can We *only* do it by replacing the hardcoded pattern we load in the home.html template ???<!-- wp:pattern {"slug":"theme-slug/pattern-of-choice"} /-->
Forum: Developing with WordPress
In reply to: Can patterns be organized in subfolders ?Thanks for answering.
I will mark this as solved.
Since, as you say seems that is simply not possible.
Therefore, I guess that suggesting the feature is our best bet.