WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-PageNavi] Code for single post pages? (5 posts)

  1. dbirlew
    Member
    Posted 4 years ago #

    Using WP-Pagenavi 2.61 on WP 2.9.2. The plugin works on my index and category pages. But when I try to insert the code <?php wp_pagenavi(); ?> into the Single Post template (single.php) the pages do not appear. My template is WP-Pagenavi ready, so should I be adding a different code, or does this plugin only work on index and category pages, not single post pages?

    http://wordpress.org/extend/plugins/wp-pagenavi/

  2. scribu
    Member
    Posted 4 years ago #

    It doesn't work on single posts because it doesn't make sense.

    On single posts you should have previous / next post links, not pagination.

  3. dbirlew
    Member
    Posted 4 years ago #

    Yes, you can have several pages in a post with the <!-- nextpage --> tag.

    I suppose I can infer from your reply that you didn't code WP-Pagenavi for this, that's why it's not working.

  4. scribu
    Member
    Posted 4 years ago #

    Try Pagebar.

  5. dbirlew
    Member
    Posted 4 years ago #

    Thanks! I give her a try.

Topic Closed

This topic has been closed to new replies.

About this Topic