blog_pagination()
Description
This tag will output a numbered page navigation for your blog posts. It will not output anything if there is only one page.
Example Output
Clean URLs turned on:
<a href="blog/page/1" class="active">1</a> <a href="blog/page/2">2</a> <a href="blog/page/3">3</a>
Clean URLs turned off:
<a href="?page=blog&p=1 class="active">1</a> <a href="?page=blog&p=2">2</a> <a href="?page=blog&p=3">3</a>
Usage
<?php echo blog_pagination(); ?>
-
FAQ
- What is the Page Type and how do I use it?
- How do I make blog pagination work?
- How can I make next/previous buttons to navigate my projects?
- How do I include Vimeo, YouTube, SoundCloud etc in my projects, pages, blog posts?
- How do I make excerpts for my blog posts? (Using the {more} tag)
- View all (2 more)
-
General Documentation
-
Themes
-
Code Documentation