WordPress.org

Support

Support » How-To and Troubleshooting » Remove the previous and next link for posts on blog

Remove the previous and next link for posts on blog

Viewing 9 replies - 1 through 9 (of 9 total)
  • Michael
    Forum Moderator

    @alchymyth

    in Twenty Ten (or in a clone such as your theme) you should be able to find that in loop-single.php:

    remove both the full divs ‘nav-above’ and ‘nav-below’

    journalismhub
    Member

    @journalismhub

    Could you please give me the steps?

    Much appreciated.

    testingmoon
    Member

    @testingmoon

    Hello, it’s very simple, go to your “style.css” (line 920)

    Then change this line:
    display: block;

    TO THIS:
    display: none;

    journalismhub
    Member

    @journalismhub

    How can I know which line is this? As in Line number? There are so many “display: block” so what comes before it and after it?

    Thanks guys

    JH

    testingmoon
    Member

    @testingmoon

    ????? I just said which line.

    journalismhub
    Member

    @journalismhub

    Yes but i cant see line numbers?

    testingmoon
    Member

    @testingmoon

    Alright, find this line:
    .paged #nav-above, .single #nav-above {

    Below that you will see display:, change it to what I’ve mentioned previously.

    journalismhub
    Member

    @journalismhub

    thanks but this removed the top next/previous but kept the one at the bottom of the post. How shall I remove that as well?

    Thanks

    JH

    testingmoon
    Member

    @testingmoon

    Find this line below:
    #nav-below {

    Then replace everything in here:

    #nav-below {
        margin: -18px 0 0;
    }

    To this:

    #nav-below {
        display: none;
    }

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Remove the previous and next link for posts on blog’ is closed to new replies.