WordPress Pagination without plugin

The default WordPress pagination only comes with the “Older posts” and “Newer posts” links at the bottom of the page when you want to navigate to the older entries. This works fine for sites with few entries, but isn’t very user-friendly for blogs and sites with dozens or even hundreds of pages worth of entries. To enable your visitors to quickly navigate your site and browse through your content from page to page, a list of numbered pages would be more useful, like Google’s search results.


Add the following function to your functions.php file:
Continue reading

Pagination: Split WordPress Post into Multiple Pages

This simple trick will let you split a single page or post into multiple pages. Just switch to the “Text” screen in your editor, and then add the following code wherever you’d like to add the paging.

Continue reading