Site logo

pagination

Customizing Pagination

Hi, I am looking to customize the pagination on my blog. I want to remove the 1,2,3…. pagination and replace it with just “read the next post”. How can I do it? Is it possible to show something like “Show all Posts” and link it to the archives page? Regards Dilip

Custom # of Posts

I have a custom category page for photo posts that shows a thumbnail for each gallery post. How would I override the number of posts displayed within that particular template? Is there a way to do that? Here’s my template code: <?php /** * The template for displaying Photo Category pages. * * Learn more: … Read more

Need to add some custom code just before the pagination function

I’m trying to achieve a specific layout which results in 7 posts on the home page, and 9 posts on subsequent pages – 2, 3, 4 etc. In addition to adding some code to functions.php I’ve been told I need to add the following code just before the pagination function: global $wp_query; // Needed for … Read more

Replace Pagination CSS with Bootstrap?

Hello! Is it complicated to replace the default pagination styling with Bootstrap CSS that I would then customise to fit with my site? I don’t like the default pagination and I like Bootstrap’s better. It seems a bit more difficult than simply implementing CSS to create layouts inside pages!

GP Paginate Total Pages

Hi Tom, For competition reasons, I don’t want my pagination showing how many posts are on my site. It should just show [First]…[previous] [next]…[Last] or something similar? Where do I go to edit the code? On a side note, I would gladly pay another $5 for a css plugin for the pagination to give it … Read more

How to position pagination above social share buttons?

Hello, GP comes with a nice pagination for posts and pages (WP’s pagebreak shortcode). But unfortunately it shows “1 2 … 21 next ->” below social share buttons and related posts. We have both coming from Jetpack. Is there a hook line to get it shown above the social share section? Thank you in advance!

Pagination CSS – a different look

Just thought I’d add this suggestion for a different look for the pagination at the bottom of the search/archive pages. Let me know what you think 🙂 Just add this in your child theme’s style.css. Or using a plugin like Tom’s awesome css plugin. I also like this css plugin. nav#nav-below.paging-navigation span.page-numbers.current {font-weight:700;border:solid 1px #1e72bd; … Read more