• Resolved webstijl

    (@webstijl)


    I use the custom post type ui-plugin and divi .

    The problem is:
    The post navigation does not work properly.
    When I set a number of posts, to show on a page, the post navigation does appear. But, when I click on the ‘next page’-link, the page seems to keep loading and new posts never appear.

    I’m having this issue now I’m using the divi blog extras plugin (see:https://www.elegantthemes.com/marketplace/divi-blog-extras/).
    But before when I did not use the divi blog extras plugin, I’ve had this problem too.

    I do nog have this issue on pages where normal ‘posts'(standard wordpress-posts) are loaded.
    Deleting page-css or choose a different layout in the plugin settings does not affect the problem.
    For the time-being I’ve disabled the display of a limited number of posts (now all posts are shown, because the website is live)

    Why is the page navigation not working?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi @webstijl

    You’ll want to talk to Divi support for why it’s potentially not working with their plugin. I’m not familiar with that specific plugin so it’s impossible for me to say.

    When it comes to not using something like what Divi provides, and you’re perhaps rolling your own WP_Query and trying to paginate, it can still be a slight issue. However, I wrote up some documentation about this topic a bunch of years back and that can be found at https://docs.pluginize.com/article/cleanly-done-pagination-with-custom-wpquery-objects/

    A quick summary is that you’d want to use these two functions specifically, with some of the function parameters filled in:

    get_next_posts_link()
    get_previous_posts_link()

    That said, if you are enabling archives for your post type, you shouldn’t need to make use of a custom WP_Query and just use the standard template archive hierarchy and the pagination should end up just working out of box.

    Really depends on the usecase, and in your specific case, Divi is doing a lot of stuff outside of standard themes.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @webstijl did you get things working here?

    Thread Starter webstijl

    (@webstijl)

    yes

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The post navigation does not work properly.’ is closed to new replies.