• Here is the link to the page I am working on: https://hetzelracing.com/news

    I am using the Inline PHP plugin to pull posts from one category into a page. However, my posts are getting kind of numerous and there’s getting to be too much vertical scroll so I want to add pagination to limit the amount of posts that are shown per page. I know all about the <!–nextpage–> trick, but this will not work with my situation. That would work great if I wasn’t pulling posts into my page, but unfortunately I am.

    So how can I add pagination this page to limit the amount of posts that are pulled per page?

    Here is my loop for the news page:

    `<?php query_posts(‘posts_per_page=50&category_name=news’); ?>

    <?php while ( have_posts() ) : the_post() ?>

    …….

    <?php if(function_exists(‘pagination’)) { pagination(); } ?>

    <?php endwhile; ?>

  • The topic ‘Pagination WITHIN page PULLING posts’ is closed to new replies.