• Resolved teahou

    (@teahou)


    Here is the site I am working on:

    https://www.vjortho.com/category/shoulder/

    There is pagination at the bottom, but not the top. From looking at the code I found the bottom pagination is put there using:

    <?php wp_pagenavi(); ?>

    … in loop.php, so i tried to add that same line to various places earlier in the page but nothing shows.

    I had though wp-pagenavi was a plugin, but it is not listed as an active plugin so I am not sure why that is.

    So, I am wondering where I can put the above line of code in th eloop.php page so that I get pagination at the top as well. Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter teahou

    (@teahou)

    I have solved this. I added the code in the ‘Category Template’ before the loop.php call.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding pagination to the top of search results’ is closed to new replies.