WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
Where to put on WordPress 3.6? (12 posts)

  1. s2pidkaspr
    Member
    Posted 12 months ago #

    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/

  2. MrCastor
    Member
    Posted 11 months ago #

    loop-single.php

  3. s2pidkaspr
    Member
    Posted 11 months ago #

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

  4. MrCastor
    Member
    Posted 11 months ago #

    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.

  5. s2pidkaspr
    Member
    Posted 11 months ago #

    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

  6. MrCastor
    Member
    Posted 11 months ago #

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

  7. s2pidkaspr
    Member
    Posted 11 months ago #

    Tried that since before, didn't work.

  8. tshcomm
    Member
    Posted 11 months ago #

    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.

  9. 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. ;)

  10. tshcomm
    Member
    Posted 11 months ago #

    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 :)

  11. tshcomm
    Member
    Posted 11 months ago #

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

  12. s2pidkaspr
    Member
    Posted 11 months ago #

    @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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.