WordPress.org

Ready to get started?Download WordPress

Forums

Frontier
[resolved] Adding prev/next to paginated articles (3 posts)

  1. Ate Up With Motor
    Member
    Posted 10 months ago #

    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!

  2. ronangelo
    Member
    Theme Author

    Posted 10 months ago #

    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.

  3. Ate Up With Motor
    Member
    Posted 10 months ago #

    Okay, thanks!

Reply

You must log in to post.

About this Theme

About this Topic