WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] WP pagenavi not working in Twenty Eleven Theme (3 posts)

  1. jonas12
    Member
    Posted 1 year ago #

    I got the WP PageNavi working in Theme Twenty Ten and in the ThemeZee, but I can't find the code in Twenty Eleven.

    In the Main Index file I not sure which code to change;

    <div id="primary">
    <div id="content" role="main">

    <?php if ( have_posts() ) : ?>

    <?php twentyeleven_content_nav( 'nav-above' ); ?>

    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( 'content', get_post_format() ); ?>

    <?php endwhile; ?>

    Couldn't find anything in the content.php file.

    I've set posts to show to 3.
    It doesn't say previous or next instead it says older posts and newer posts.

    Any advice appreciated
    Cheers

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

  2. jonas12
    Member
    Posted 1 year ago #

    I missed the answer before on another post:

    http://wordpress.org/support/topic/what-file-to-change-next_posts_link-in?replies=3

    the code that you need to change is in the functions.php file.

  3. jonas12
    Member
    Posted 1 year ago #

    all good.

    Follow the instructions for twenty ten, the only difference for twenty eleven is the file where the code is kept. which is in the functions.php

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic