WordPress.org

Make WordPress Core

Changeset 48064


Ignore:
Timestamp:
06/16/2020 06:38:53 PM (18 months ago)
Author:
ianbelanger
Message:

Bundled Themes: Twenty Seventeen pagination links don't appear for home pages.

Fixes issues where pagination does not work on the page that is set to the home page.

Props dimitris.m, laurelfulford, poena, ianbelanger, samful.
Fixes #39685.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php

    r46827 r48064  
    4444                        )
    4545                    );
     46                    wp_link_pages(
     47                        array(
     48                            'before' => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
     49                            'after'  => '</div>',
     50                        )
     51                    );
    4652                    ?>
    4753            </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.