WordPress.org

Ready to get started?Download WordPress

Forums

Remove the previous and next link for posts on blog (10 posts)

  1. journalismhub
    Member
    Posted 2 years ago #

    Hello - when reading a post published on my site - there is the previous and next links to show previous post and next post. I don't want to have these in my posts. How can I remove them all the time.

    Check here for an example: http://journalismhub.com/gender_issues_jordan_1/

    My site is: http://www.journalismhub.com

    Thanks,
    JH

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    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'

  3. journalismhub
    Member
    Posted 2 years ago #

    Could you please give me the steps?

    Much appreciated.

  4. testingmoon
    Member
    Posted 2 years ago #

    Hello, it's very simple, go to your "style.css" (line 920)

    Then change this line:
    display: block;

    TO THIS:
    display: none;

  5. journalismhub
    Member
    Posted 2 years ago #

    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

  6. testingmoon
    Member
    Posted 2 years ago #

    ????? I just said which line.

  7. journalismhub
    Member
    Posted 2 years ago #

    Yes but i cant see line numbers?

  8. testingmoon
    Member
    Posted 2 years ago #

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

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

  9. journalismhub
    Member
    Posted 2 years ago #

    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

  10. testingmoon
    Member
    Posted 2 years ago #

    Find this line below:
    #nav-below {

    Then replace everything in here:

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

    To this:

    #nav-below {
        display: none;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic