WordPress.org

Support

Support » Themes and Templates » [Resolved] Adding prev/next to paginated articles

[Resolved] Adding prev/next to paginated articles

  • Ate Up With Motor

    @ate-up-with-motor

    I have a child theme based on Frontier 1.0.5 and am using the WP-Page-Navi plugin. I have a bunch of paginated articles (which I’m importing from another CMS) and would like to have the pagination display show the next and previous page links in addition to the actual page numbers. However, even if I set the Page-Navi’s options for the next and prev pages, they don’t actually display.

    It looks like Frontier sets the parameters for pagination via the wp_link_pages function in loop-blog.php. However, I have no idea how to modify that through the child theme’s functions.php to get it to display both page numbers and next/prev. Do you have any idea how I might do that?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author ronangelo

    @ronangelo

    However, even if I set the Page-Navi’s options for the next and prev pages, they don’t actually display.

    That’s not how wp-pagenavi works. As described on the plugin’s description, it only replaces the “← Older posts & Newer posts →” links on the bottom of the blog page.

    Do you have any idea how I might do that?

    The WordPress function wp_link_pages() doesn’t really support the feature you want so I have no idea how to do that. Maybe you could find your solution here.

    Ate Up With Motor

    @ate-up-with-motor

    Okay, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Adding prev/next to paginated articles’ is closed to new replies.