Skip to content

Instantly share code, notes, and snippets.

@lawrencebrown
Created April 8, 2020 05:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lawrencebrown/a610b2d032399af96ceaa71879c453d3 to your computer and use it in GitHub Desktop.
Save lawrencebrown/a610b2d032399af96ceaa71879c453d3 to your computer and use it in GitHub Desktop.
Wordpress the_content filed, page links at bottom of post
<div class="entry-content">
<?php
the_content();
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'larryworld' ),
'after' => '</div>',
) );
?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment