WordPress.org

Ready to get started?Download WordPress

Forums

Remove 'Older' And 'Newer' From Navigation (K2) (2 posts)

  1. anasoto
    Member
    Posted 3 years ago #

    Hi,

    I'm having real trouble removing the "older" and "newer" links at the top of my posts. I'm using the K2 theme. I have tried wiping all the code from the navigation.php but that doesn't seem to do anything at all.

    Does anyone know how to do this?

    The site is: http://luxurycaraddict.com

    Thanks for any help you can give!

  2. anasoto
    Member
    Posted 3 years ago #

    Ok I figured it out in the end.

    To do it I did this:

    In the stylesheet.css a this line:

    .navigation {
    padding: 10px 10px 10px 0;
    }

    I changed it to:

    .navigation {
    padding: 10px 10px 10px 0;
    display: none;
    }

    And in the singlepost.php

    I removed <?php k2_navigation('nav-above'); ?> and the one that says "below" instead of "above".

    Hopefully that's a decent way to do it. Let me know if you think there's a better way.

Topic Closed

This topic has been closed to new replies.

About this Topic