WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Pagination code inserted in a page (1 post)

  1. xrun
    Member
    Posted 2 years ago #

    Hi.
    I'm using a plugin to display a list of portfolio posts in a certain way on a regular page, but the plugin does not support pagination (yet).

    I'm thinking maybe a way around this could be to read the number of post in the category, and provide a link to the next (and/or previous) page if the number of posts is higher than a given value.

    I'd have to create those next pages myself, cause the way the plugin works it'll need to be placed on a page with some parameters to function properly. So I'll need to add a little bit of code to the page to aid pagination as well.

    So the thing is to determine if there are more posts to be shown in the given category, and display a link to that next page if needed. I'd have to place the code for this on those pages. I know it may seem crude.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags