WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 months ago

#39685 new defect (bug)

Twenty Seventeen: Pagination links don't appear for home pages

Reported by: dimitris.m Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.7.1
Component: Bundled Theme Keywords: has-screenshots has-patch
Focuses: ui Cc:
PR Number:

Description

Steps to reproduce:

  • Create a new page and split its content with <!--nextpage-->
  • Set this page to be your Home one (under Settings/Reading)
  • Visit the page in the front-end

The Pagination links aren't shown at all in the bottom of the page.

This works if the page isn't set for Home and also works with the "TwentySixteen" theme.

Attachments (5)

Twenty-Seventeen-Front-Page-Editor.png (72.3 KB) - added by laurelfulford 13 months ago.
Twenty Seventeen - front page editor
Twenty-Seventeen-About-Editor.png (81.2 KB) - added by laurelfulford 13 months ago.
Twenty Seventeen - About Page editor
Twenty-Seventeen-front-page.png (65.8 KB) - added by laurelfulford 13 months ago.
Twenty Seventeen - both the front page and about page content appearing on the front page
39685.patch (464 bytes) - added by poena 6 months ago.
Adds wp_link_pages to content-front-page.php
pagination-with-patch.png (61.0 KB) - added by poena 6 months ago.
Sample page with page break, set as homepage.

Download all attachments as: .zip

Change History (8)

#1 @SergeyBiryukov
3 years ago

  • Component changed from Themes to Bundled Theme
  • Summary changed from Pagination links don't appear for home Pages in "TwentySeventeen" to Twenty Seventeen: Pagination links don't appear for home pages

@laurelfulford
13 months ago

Twenty Seventeen - front page editor

@laurelfulford
13 months ago

Twenty Seventeen - About Page editor

@laurelfulford
13 months ago

Twenty Seventeen - both the front page and about page content appearing on the front page

#2 @laurelfulford
13 months ago

  • Keywords needs-patch has-screenshots added
  • Milestone changed from Awaiting Review to Future Release

Thanks for reporting this, @dimitris.m!

I can recreate this as well, both by trying to add a page break to the front page's content, and trying to add a page break to one of the pages showing on the front page.

This happens with both the classic and block-based editor.

@poena
6 months ago

Adds wp_link_pages to content-front-page.php

#3 @poena
6 months ago

  • Keywords has-patch added; needs-patch removed

@poena
6 months ago

Sample page with page break, set as homepage.

Note: See TracTickets for help on using tickets.