Support » Plugins and Hacks » WP-PageNavi » Where to put on WordPress 3.6?

  • I tried looking everywhere, can’t find the

    <div class="navigation">
        <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
        <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
    </div>

    on twenty twelve theme. anyone help?

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • loop-single.php

    say what?! no loop-single.php on my files 😀

    You can put it like in every files … Put this code where your posts are. Like in single for example or in the front-page. I will be able to help you more if you tell me exactly where you want to put pagenavi.

    I want to put it on pages, but like i said, this

    <div class="navigation">
        <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
        <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
    </div>

    is nowhere on page. or any files in 3.6

    I just dl twentytwelve theme. Look at the single.php file.

    Tried that since before, didn’t work.

    agreed. difficult to find in twentytwelve. found one, but “previous posts” still exists on top of it and can’t find where to get rid of “previous posts” text/code.

    Moderator Jan Dembowski

    (@jdembowski)


    Brute Squad and Volunteer Moderator


    WP-PageNavi really is a cool plugin but to take advantage of it you need to know something about your theme and how it works.

    Generically speaking this remains a good set of instructions.

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

    Other themes maybe different. 😉

    found it in functions.php for twentytwelve. i simply removed this:

    <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentytwelve' ) ); ?></div>
    			<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?></div>

    of course, always backup first 🙂

    i respectfully disagree, jan. the instructions are from March 2013 and gives instructions for twentyten, which all code has changed since then.

    @tshcomm i did that, nothing happened. Even if i replaced it with wp-navi code. It won’t work. =/

    @jan Dembowski my theme is the default twenty-twelve theme.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Where to put on WordPress 3.6?’ is closed to new replies.