Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jeflopo

    (@jeflopodev)

    @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.

    • This reply was modified 3 months, 1 week ago by jeflopo.
    • This reply was modified 3 months, 1 week ago by jeflopo.
    Thread Starter jeflopo

    (@jeflopodev)

    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.
    Thread Starter jeflopo

    (@jeflopodev)

    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"} /-->
    • This reply was modified 1 year, 1 month ago by jeflopo.
    • This reply was modified 1 year, 1 month ago by jeflopo.
    • This reply was modified 1 year, 1 month ago by jeflopo.
    • This reply was modified 1 year, 1 month ago by jeflopo.
    • This reply was modified 1 year, 1 month ago by jeflopo.
    Thread Starter jeflopo

    (@jeflopodev)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)