Skip to content
WJunction - Webmaster Forum

How to add pagination?

Status
Not open for further replies.
Hello,

I'm having some issues adding a pagination in a page.
Can someone help me?

I want to use this plugin to insert pagination with the following code:

PHP:
<?php wp_pagenavi(); ?>

When I add this code, the pagination doesn't appear.

The only pagination code I can make to work:

PHP:
<?php 
next_posts_link( 'Older Entries', $loop->max_num_pages );
previous_posts_link( ' - Newer Entries' ); 
?>

But it's very ugly and I need to replace with the above one.

What could be?

My code: https://paste2.org/CpmZDs8x

Thanks in advance!
 
Status
Not open for further replies.

About the author

D
Active Member · Joined
806
Messages
18
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom