WordPress / twentytwentyfive

152 stars 103 forks source link

Home: The "more posts" lists the same posts as the main query. #326

Closed carolinan closed 1 month ago

carolinan commented 1 month ago

Description

On the default home template, the main query is set to inherit from the template (and this is correct) which means that the number of posts shown is controlled by the setting in the admin area: Settings > Reading Settings > Blog pages show at most. This means that the second query under the heading "More posts" shows the title and date of the same posts. (Once you navigate to the second page of the result, this is a non issue, it is only a problem on the first page).

home-more-posts

There is no way to offset this query to same number as in the reading settings of the first query. By changing the sorting order and use for example oldest to newest, the posts may be different, but it would also promote old content, which may be undesirable.

beafialho commented 1 month ago

Maybe we remove this pattern from the Blog templates to avoid this confusing situation and leave it only in the Single Posts.

bobbylee-noble commented 1 month ago

Working on this for contributor day :)

carolinan commented 1 month ago

Reopening this as a reminder to check if this should be removed from other blog templates.