While developing a custom WordPress theme for a blog most of us were stuck in the numeric pagination of archives. By default, WordPress has implemented simple pagination which enables the Next Page and Previous Page navigation function and that can be added by a single line of code, but that looks outdated and inconvenient for […]
Building WP theme from scratch! You’ll definitely need to add pagination in the index, archives, and similar templates and you can do this by adding the posts_nav_link function. Here is how to add them. Note: I assume that you have knowledge of PHP and where to add these codes. Default pagination: <?php posts_nav_link(); ?> It […]