WordPress / twentytwentythree

Twenty Twenty-Three, the default WordPress theme sporting many styles that will launch with WordPress 6.1.
123 stars 65 forks source link

Blog (Alternative) Template: Only one post displayed on front end #253

Closed kathrynwp closed 2 years ago

kathrynwp commented 2 years ago

In testing the Blog (Alternative) Template, I found that only one post was displayed on the front end, even though all my published posts were displayed in the editor.

To replicate

  1. Publish three posts
  2. In Settings > Reading, set "Blog pages show at most" to any number greater than 3
  3. Go to Appearance > Editor > Browse all Templates
  4. Click the Blog (Alternative) template to open it
  5. See three posts are shown in the editor, in the Query Loop block.

https://user-images.githubusercontent.com/7662449/194132118-2ebc0bd9-b4c5-4523-9623-0b4fdaaf7b1c.mp4

  1. Create a new page and assign the Blog (Alternative) template to it. Publish the page

Result

Visit the front end of the new page you just published. Only the most recent post is displayed.

Testing_Blog_Alternative_–_Twenty_Twenty-Three_Testing

Expected

I expected to see all three published posts on the front end, as I did in the template editor during step 5 above

Tested with

WordPress 6.1-beta3-54390 Gutenberg 14.2.0 Twenty Twenty-Three downloaded from GitHub approx. 3 hours ago

mikachan commented 2 years ago

Fixed by https://github.com/WordPress/twentytwentythree/pull/255.