Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Pagination not showing up for a custom loop #798028

    Hey guys – Any ideas on this issue? Can someone point me in the right direction?

    Thank you for your reply. I see that instead of echo, if I use return It fixes the issue.

    I have another issue though. I can modify the same function to display all the testimonials on a different page. All I have to do is to modify the query parameter and set it to ‘posts_per_page’ => ‘-1’. Doing this will make sure that the query is going to return all the custom post types (in my case – testimonials) and display them on the page. How do I make sure to display lets say 10 testimonials on a page, and if there are more than 10 testimonials (custom post types) then display a pagination.

    How can I modify the function above to display the default pagination that comes with Enfold. Thanks

Viewing 2 posts - 1 through 2 (of 2 total)