Over 15 years we helped companies reach their financial and branding goals. Beach Life Marketing is a values-driven and dedicated marketing agency.

LATEST NEWS
CONTACTS
Coding Tips

Page navigation link code for wordpress

Today, I took a close look at my beachlifemarketing.com website and browsed through the archive section of the website. I notice that I was missing the page navigation link for the archive. This means that whenever click on a category or an archive section of my website, they can only see a set amount of article in that archive or categories, and then there is no next page button to go to the next set of articles in that same archive.  I fixed that problem by using this pre-defined code for wordpress:

 <div class="pagination">
        <?php posts_nav_link(); ?>               
    </div>

 

 

Author

Administrator