One of the most important and basic features of WordPress is pagination,and if you’re thinking why would pagination be that important and as it can affect your ad revenue. Yes, pagination can affect your ad revenues. You can always put your blog posts on multiple pages instead of the single page posts and thus increasing the number of ads inserted in a post and thus the probability of your users clicking it.
This post will present a step by step guide on how insert pagination to your WordPress without the need of any plugins, as we all know the drawbacks of plugins.
Step One: Go to your website and log into your WordPress dashboard (www.example.com/wp-admin) and enter your credentials, then enter the dashboard.
Step Two: In your dashboard enter the Appearance menu.
Step Three: In the Appearance menu, go to the “Editor” tab.
Step Four: Open the function.php file at the right hand side of the screen and copy and paste the following code in it.
Now, you’ve successfully added paginations to your blog posts without the overhead of any plugin.