WordPress.org

Ready to get started?Download WordPress

Forums

Posts in Page
Pagination to link to Previous Posts (4 posts)

  1. acjdesigns
    Member
    Posted 7 months ago #

    I was wondering if anyone has figured this out. If I enable pagination in the shortcode, the code just takes me to the home page. The amount of posts the plugin posts is not all of my available posts. I wasn't sure how to fix this.

    https://wordpress.org/plugins/posts-in-page/

  2. Patrick Jackson
    Member
    Plugin Author

    Posted 7 months ago #

    Hi acjdesigns,

    Thanks for posting about this. Looks like a good ole fashioned bug to me.

    What permalink setting are you using?

    I did some testing, and it looks like when permalinks is set to the default (?p=xxx), the pagination links are inserting the page name into the URL. This is (probably) fine for most other permalink strategies, especially Post name, but invalid for the default setting.

    Since the URL is invalid, it triggers a 404 page not found error; and if there's no page assigned to handle that error, the visitor is sent back to the home page instead.

    This looks like a pretty major bug, so I'll dig deeper and see if I can come up with a patch. In the mean time, the only quick solution I can think of offhand is trying to use Post Name permalinks.

    Let me know if you find anything more!

  3. mpukit
    Member
    Posted 6 months ago #

    HI -

    I'm having the same issue where post navigation is pulling a 404 page. I don't have the default permalinks settings - I have custom permalinks setup, but its still not working as expected.

    Any update as to when this issue might be resolved?

    Thanks!

  4. Patrick Jackson
    Member
    Plugin Author

    Posted 6 months ago #

    Hi mpukit,

    Do you have a url where I can see your issue in action?

    You can keep up to date on new development on IvyCat's github account. That's also where developers are welcome to help by contributing patches and fixes.

Reply

You must log in to post.

About this Plugin

About this Topic