Make WordPress Core

Ticket #39685: 39685.1.diff

File 39685.1.diff, 1.3 KB (added by ianbelanger, 5 years ago)

Updates patch to work in content-front-page.php and content-front-page-panels.php

  • src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php

     
    4646                                                        get_the_title()
    4747                                                )
    4848                                        );
     49                                        wp_link_pages(
     50                                                array(
     51                                                        'before' => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
     52                                                        'after'  => '</div>',
     53                                                )
     54                                        );
    4955                                        ?>
    5056                        </div><!-- .entry-content -->
    5157
  • src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php

     
    4343                                                        get_the_title()
    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 -->
    4854